Sdílet prostřednictvím


AuthenticationSchemeProvider.GetDefaultSignOutSchemeAsync Metoda

Definice

Vrátí schéma, které se použije ve výchozím nastavení pro SignOutAsync(HttpContext, String, AuthenticationProperties). Obvykle se zadává prostřednictvím DefaultSignOutScheme. V opačném případě se tento postup vrátí na GetDefaultSignInSchemeAsync() , pokud to podporuje odhlášení.

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

Návraty

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

Implementuje

Platí pro