Compartilhar via


AuthenticationSchemeProvider.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:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^ GetDefaultSignInSchemeAsync();
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultSignInSchemeAsync ();
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme?> GetDefaultSignInSchemeAsync ();
abstract member GetDefaultSignInSchemeAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
override this.GetDefaultSignInSchemeAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
Public Overridable Function GetDefaultSignInSchemeAsync () As Task(Of AuthenticationScheme)

Retornos

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

Implementações

Aplica-se a