Sdílet prostřednictvím


AuthenticationSchemeProvider.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:
 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)

Návraty

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

Implementuje

Platí pro