Udostępnij przez


AuthenticationSchemeProvider.GetDefaultSignOutSchemeAsync Metoda

Definicja

Zwraca schemat, który będzie używany domyślnie dla SignOutAsync(HttpContext, String, AuthenticationProperties)elementu . Jest to zwykle określane za pośrednictwem polecenia DefaultSignOutScheme. W przeciwnym razie nastąpi powrót do GetDefaultSignInSchemeAsync() tego, jeśli obsługuje wylogowanie.

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)

Zwraca

Schemat, który będzie domyślnie używany dla SignOutAsync(HttpContext, String, AuthenticationProperties)programu .

Implementuje

Dotyczy