ControllerBase.Challenge メソッド

定義

オーバーロード

Challenge(AuthenticationProperties, String[])

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

Challenge()

ChallengeResult を作成します。

Challenge(AuthenticationProperties)

指定した を ChallengeResult 使用して を作成します properties

Challenge(AuthenticationProperties)

指定した を ChallengeResult 使用して を作成します properties

Challenge(String[])

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

Challenge(AuthenticationProperties, String[])

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

Challenge(AuthenticationProperties, String[])

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

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

パラメーター

properties
AuthenticationProperties

AuthenticationProperties 認証チャレンジを実行するために使用されます。

authenticationSchemes
String[]

チャレンジする認証スキーム。

戻り値

応答用に作成された ChallengeResult

属性

適用対象

Challenge()

ChallengeResult を作成します。

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

戻り値

応答用に作成された ChallengeResult

属性

注釈

このメソッドの動作は、使用中の によって IAuthenticationService 異なります。 Status401UnauthorizedStatus403Forbidden は、可能性の高い状態の結果の 1 つです。

適用対象

Challenge(AuthenticationProperties)

指定した を ChallengeResult 使用して を作成します properties

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

パラメーター

properties
AuthenticationProperties

AuthenticationProperties 認証チャレンジを実行するために使用されます。

戻り値

応答用に作成された ChallengeResult

属性

注釈

このメソッドの動作は、使用中の によって IAuthenticationService 異なります。 Status401UnauthorizedStatus403Forbidden は、可能性の高い状態の結果の 1 つです。

適用対象

Challenge(AuthenticationProperties)

指定した を ChallengeResult 使用して を作成します properties

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

パラメーター

properties
AuthenticationProperties

AuthenticationProperties 認証チャレンジを実行するために使用されます。

戻り値

応答用に作成された ChallengeResult

属性

適用対象

Challenge(String[])

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

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

パラメーター

authenticationSchemes
String[]

チャレンジする認証スキーム。

戻り値

応答用に作成された ChallengeResult

属性

注釈

このメソッドの動作は、使用中の によって IAuthenticationService 異なります。 Status401UnauthorizedStatus403Forbidden は、可能性の高い状態の結果の 1 つです。

適用対象

Challenge(AuthenticationProperties, String[])

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

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

パラメーター

properties
AuthenticationProperties

AuthenticationProperties 認証チャレンジを実行するために使用されます。

authenticationSchemes
String[]

チャレンジする認証スキーム。

戻り値

応答用に作成された ChallengeResult

属性

注釈

このメソッドの動作は、使用中の によって IAuthenticationService 異なります。 Status401UnauthorizedStatus403Forbidden は、可能性の高い状態の結果の 1 つです。

適用対象