Sdílet prostřednictvím


IAuthenticationSchemeProvider.GetDefaultSignInSchemeAsync Metoda

Definice

Vrátí schéma, které se použije ve výchozím nastavení pro SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties). Obvykle se zadává přes DefaultSignInScheme. V opačném případě se vrátí zpět na 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)

Návraty

Schéma, které se použije ve výchozím nastavení pro SignInAsync(HttpContext, String, ClaimsPrincipal, AuthenticationProperties).

Platí pro