PageModel.SignOut 方法

定义

重载

SignOut(String[])

SignOutResult使用指定的身份验证方案创建 。

SignOut(AuthenticationProperties, String[])

SignOutResult使用指定的身份验证方案和 properties创建 。

SignOut(String[])

Source:
PageModel.cs
Source:
PageModel.cs
Source:
PageModel.cs

SignOutResult使用指定的身份验证方案创建 。

public:
 virtual Microsoft::AspNetCore::Mvc::SignOutResult ^ SignOut(... cli::array <System::String ^> ^ authenticationSchemes);
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (params string[] authenticationSchemes);
abstract member SignOut : string[] -> Microsoft.AspNetCore.Mvc.SignOutResult
override this.SignOut : string[] -> Microsoft.AspNetCore.Mvc.SignOutResult
Public Overridable Function SignOut (ParamArray authenticationSchemes As String()) As SignOutResult

参数

authenticationSchemes
String[]

用于注销操作的身份验证方案。

返回

为响应创建的 SignOutResult

适用于

SignOut(AuthenticationProperties, String[])

Source:
PageModel.cs
Source:
PageModel.cs
Source:
PageModel.cs

SignOutResult使用指定的身份验证方案和 properties创建 。

public:
 virtual Microsoft::AspNetCore::Mvc::SignOutResult ^ SignOut(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, ... cli::array <System::String ^> ^ authenticationSchemes);
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, params string[] authenticationSchemes);
abstract member SignOut : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string[] -> Microsoft.AspNetCore.Mvc.SignOutResult
override this.SignOut : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string[] -> Microsoft.AspNetCore.Mvc.SignOutResult
Public Overridable Function SignOut (properties As AuthenticationProperties, ParamArray authenticationSchemes As String()) As SignOutResult

参数

properties
AuthenticationProperties

AuthenticationProperties 用于执行注销操作。

authenticationSchemes
String[]

用于注销操作的身份验证方案。

返回

为响应创建的 SignOutResult

适用于