AuthenticationSchemeProvider.GetDefaultSignOutSchemeAsync Method

Definition

Returns the scheme that will be used by default for SignOutAsync(HttpContext, String, AuthenticationProperties). This is typically specified via DefaultSignOutScheme. Otherwise this will fallback to GetDefaultSignInSchemeAsync() if that supports sign out.

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)

Returns

The scheme that will be used by default for SignOutAsync(HttpContext, String, AuthenticationProperties).

Implements

Applies to