IAuthenticationSchemeProvider.GetDefaultSignOutSchemeAsync 方法

定义

返回默认情况下将用于 的方案 SignOutAsync(HttpContext, String, AuthenticationProperties)。 这通常通过 DefaultSignOutScheme指定。 否则,这将回退到 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)

返回

默认情况下将用于 的方案 SignOutAsync(HttpContext, String, AuthenticationProperties)

适用于