Dela via


IAuthenticationSchemeProvider.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() .

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

Returns

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

Applies to