Compartir a través de


AuthenticationSchemeProvider.GetDefaultSignInSchemeAsync Método

Definición

Devuelve el esquema que se usará de forma predeterminada para SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties). Normalmente, esto se especifica a través de DefaultSignInScheme. De lo contrario, se revertirá a 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)

Devoluciones

Esquema que se usará de forma predeterminada para SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties).

Implementaciones

Se aplica a