共用方式為


AuthenticationSchemeProvider.GetDefaultSignOutSchemeAsync 方法

定義

傳回預設會用於 SignOutAsync(HttpContext, String, AuthenticationProperties) 的配置。 這通常是透過 DefaultSignOutScheme 指定。 否則,如果支援登出,這會回復為 GetDefaultSignInSchemeAsync()

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)

傳回

預設會用於 的配置 SignOutAsync(HttpContext, String, AuthenticationProperties)

實作

適用於