Delen via


PageModel.SignOut Method

Definition

Overloads

SignOut(String[])

Creates a SignOutResult with the specified authentication schemes.

SignOut(AuthenticationProperties, String[])

Creates a SignOutResult with the specified authentication schemes and properties.

SignOut(String[])

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

Creates a SignOutResult with the specified authentication schemes.

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

Parameters

authenticationSchemes
String[]

The authentication schemes to use for the sign-out operation.

Returns

The created SignOutResult for the response.

Applies to

SignOut(AuthenticationProperties, String[])

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

Creates a SignOutResult with the specified authentication schemes and 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

Parameters

properties
AuthenticationProperties

AuthenticationProperties used to perform the sign-out operation.

authenticationSchemes
String[]

The authentication scheme to use for the sign-out operation.

Returns

The created SignOutResult for the response.

Applies to