Compartilhar via


IAuthenticationSchemeProvider.GetDefaultSignInSchemeAsync Método

Definição

Retorna o esquema que será usado por padrão para SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties). Normalmente, isso é especificado por meio de DefaultSignInScheme. Caso contrário, isso fará fallback para DefaultScheme.

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^ GetDefaultSignInSchemeAsync();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultSignInSchemeAsync ();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme?> GetDefaultSignInSchemeAsync ();
abstract member GetDefaultSignInSchemeAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
Public Function GetDefaultSignInSchemeAsync () As Task(Of AuthenticationScheme)

Retornos

O esquema que será usado por padrão para SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties).

Aplica-se a