ControllerBase.SignOut 方法

定义

重载

SignOut()

创建一个 SignOutResult

SignOut(AuthenticationProperties)

SignOutResult使用 创建 。properties

SignOut(String[])

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

SignOut(AuthenticationProperties, String[])

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

SignOut(AuthenticationProperties, String[])

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

SignOut()

Source:
ControllerBase.cs

创建一个 SignOutResult

public:
 virtual Microsoft::AspNetCore::Mvc::SignOutResult ^ SignOut();
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut ();
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignOut : unit -> Microsoft.AspNetCore.Mvc.SignOutResult
override this.SignOut : unit -> Microsoft.AspNetCore.Mvc.SignOutResult
Public Overridable Function SignOut () As SignOutResult

返回

为响应创建的 SignOutResult

属性

适用于

SignOut(AuthenticationProperties)

Source:
ControllerBase.cs

SignOutResult使用 创建 。properties

public:
 virtual Microsoft::AspNetCore::Mvc::SignOutResult ^ SignOut(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignOut : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.SignOutResult
override this.SignOut : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.SignOutResult
Public Overridable Function SignOut (properties As AuthenticationProperties) As SignOutResult

参数

properties
AuthenticationProperties

AuthenticationProperties 用于执行注销操作。

返回

为响应创建的 SignOutResult

属性

适用于

SignOut(String[])

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

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

public:
 virtual Microsoft::AspNetCore::Mvc::SignOutResult ^ SignOut(... cli::array <System::String ^> ^ authenticationSchemes);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (params string[] authenticationSchemes);
[<Microsoft.AspNetCore.Mvc.NonAction>]
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:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

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

public:
 virtual Microsoft::AspNetCore::Mvc::SignOutResult ^ SignOut(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, ... cli::array <System::String ^> ^ authenticationSchemes);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, params string[] authenticationSchemes);
[<Microsoft.AspNetCore.Mvc.NonAction>]
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

属性

适用于

SignOut(AuthenticationProperties, String[])

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

public:
 virtual Microsoft::AspNetCore::Mvc::SignOutResult ^ SignOut(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, ... cli::array <System::String ^> ^ authenticationSchemes);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, params string[] authenticationSchemes);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignOut : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string[] -> Microsoft.AspNetCore.Mvc.SignOutResult
override this.SignOut : Microsoft.AspNetCore.Http.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

属性

适用于