ControllerBase.SignOut メソッド

定義

オーバーロード

SignOut()

SignOutResult を作成します。

SignOut(AuthenticationProperties)

を使用して propertiesSignOutResult作成します。

SignOut(String[])

SignOutResult指定した認証スキームを使用して を作成します。

SignOut(AuthenticationProperties, String[])

SignOutResult指定した認証スキームと propertiesを使用して を作成します。

SignOut(AuthenticationProperties, String[])

SignOutResult指定した認証スキームと propertiesを使用して を作成します。

SignOut()

ソース:
ControllerBase.cs

SignOutResult を作成します。

C#
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut ();

戻り値

応答用に作成された SignOutResult

属性

適用対象

ASP.NET Core 9.0 およびその他のバージョン
製品 バージョン
ASP.NET Core 5.0, 6.0, 7.0, 8.0, 9.0

SignOut(AuthenticationProperties)

ソース:
ControllerBase.cs

を使用して propertiesSignOutResult作成します。

C#
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);

パラメーター

properties
AuthenticationProperties

AuthenticationProperties サインアウト操作を実行するために使用されます。

戻り値

応答用に作成された SignOutResult

属性

適用対象

ASP.NET Core 9.0 およびその他のバージョン
製品 バージョン
ASP.NET Core 5.0, 6.0, 7.0, 8.0, 9.0

SignOut(String[])

ソース:
ControllerBase.cs
ソース:
ControllerBase.cs
ソース:
ControllerBase.cs

SignOutResult指定した認証スキームを使用して を作成します。

C#
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (params string[] authenticationSchemes);

パラメーター

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

SignOut(AuthenticationProperties, String[])

ソース:
ControllerBase.cs
ソース:
ControllerBase.cs
ソース:
ControllerBase.cs

SignOutResult指定した認証スキームと propertiesを使用して を作成します。

C#
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, params string[] authenticationSchemes);

パラメーター

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

SignOut(AuthenticationProperties, String[])

SignOutResult指定した認証スキームと propertiesを使用して を作成します。

C#
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignOutResult SignOut (Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, params string[] authenticationSchemes);

パラメーター

properties
AuthenticationProperties

AuthenticationProperties サインアウト操作を実行するために使用されます。

authenticationSchemes
String[]

サインアウト操作に使用する認証スキーム。

戻り値

応答用に作成された SignOutResult

属性

適用対象

ASP.NET Core 1.1 および ASP.NET Core 1.0
製品 バージョン
ASP.NET Core 1.0, 1.1