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)

实现

适用于