ControllerBase.Challenge Méthode

Définition

Surcharges

Challenge(AuthenticationProperties, String[])

Crée un ChallengeResult avec les schémas d’authentification spécifiés et properties.

Challenge()

Crée un ChallengeResult.

Challenge(AuthenticationProperties)

Crée un ChallengeResult avec le spécifié properties.

Challenge(AuthenticationProperties)

Crée un ChallengeResult avec le spécifié properties.

Challenge(String[])

Crée un ChallengeResult avec les schémas d’authentification spécifiés.

Challenge(AuthenticationProperties, String[])

Crée un ChallengeResult avec les schémas d’authentification spécifiés et properties.

Challenge(AuthenticationProperties, String[])

Crée un ChallengeResult avec les schémas d’authentification spécifiés et 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

Paramètres

properties
AuthenticationProperties

AuthenticationProperties utilisé pour effectuer la demande d’authentification.

authenticationSchemes
String[]

Schémas d’authentification à contester.

Retours

créé ChallengeResult pour la réponse.

Attributs

S’applique à

Challenge()

Crée un 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

Retours

créé ChallengeResult pour la réponse.

Attributs

Remarques

Le comportement de cette méthode dépend du en cours d’utilisation IAuthenticationService . Status401Unauthorizedet Status403Forbidden sont parmi les résultats status probables.

S’applique à

Challenge(AuthenticationProperties)

Crée un ChallengeResult avec le spécifié 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

Paramètres

properties
AuthenticationProperties

AuthenticationProperties utilisé pour effectuer la demande d’authentification.

Retours

créé ChallengeResult pour la réponse.

Attributs

Remarques

Le comportement de cette méthode dépend du en cours d’utilisation IAuthenticationService . Status401Unauthorizedet Status403Forbidden sont parmi les résultats status probables.

S’applique à

Challenge(AuthenticationProperties)

Crée un ChallengeResult avec le spécifié 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

Paramètres

properties
AuthenticationProperties

AuthenticationProperties utilisé pour effectuer la demande d’authentification.

Retours

créé ChallengeResult pour la réponse.

Attributs

S’applique à

Challenge(String[])

Crée un ChallengeResult avec les schémas d’authentification spécifiés.

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

Paramètres

authenticationSchemes
String[]

Schémas d’authentification à contester.

Retours

créé ChallengeResult pour la réponse.

Attributs

Remarques

Le comportement de cette méthode dépend du en cours d’utilisation IAuthenticationService . Status401Unauthorizedet Status403Forbidden sont parmi les résultats status probables.

S’applique à

Challenge(AuthenticationProperties, String[])

Crée un ChallengeResult avec les schémas d’authentification spécifiés et 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

Paramètres

properties
AuthenticationProperties

AuthenticationProperties utilisé pour effectuer la demande d’authentification.

authenticationSchemes
String[]

Schémas d’authentification à contester.

Retours

créé ChallengeResult pour la réponse.

Attributs

Remarques

Le comportement de cette méthode dépend du en cours d’utilisation IAuthenticationService . Status401Unauthorizedet Status403Forbidden sont parmi les résultats status probables.

S’applique à