共用方式為


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)

適用於