ControllerBase.SignOut メソッド
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
SignOut() |
SignOutResult を作成します。 |
SignOut(AuthenticationProperties) |
を使用して |
SignOut(String[]) |
SignOutResult指定した認証スキームを使用して を作成します。 |
SignOut(AuthenticationProperties, String[]) |
SignOutResult指定した認証スキームと |
SignOut(AuthenticationProperties, String[]) |
SignOutResult指定した認証スキームと |
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 。
- 属性
適用対象
ASP.NET Core 9.0 およびその他のバージョン
製品 | バージョン |
---|---|
ASP.NET Core | 5.0, 6.0, 7.0, 8.0, 9.0 |
を使用して properties
をSignOutResult作成します。
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 。
- 属性
適用対象
ASP.NET Core 9.0 およびその他のバージョン
製品 | バージョン |
---|---|
ASP.NET Core | 5.0, 6.0, 7.0, 8.0, 9.0 |
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 。
- 属性
適用対象
ASP.NET Core 9.0 およびその他のバージョン
製品 | バージョン |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
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 。
- 属性
適用対象
ASP.NET Core 9.0 およびその他のバージョン
製品 | バージョン |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
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 。
- 属性
適用対象
ASP.NET Core 1.1 および ASP.NET Core 1.0
製品 | バージョン |
---|---|
ASP.NET Core | 1.0, 1.1 |