Partager via


AccountController.Challenge Method

Definition

Challenges the user.

[Microsoft.AspNetCore.Mvc.HttpGet("{scheme?}")]
public Microsoft.AspNetCore.Mvc.IActionResult Challenge (string redirectUri, string scope, string loginHint, string domainHint, string claims, string policy, string scheme);
[<Microsoft.AspNetCore.Mvc.HttpGet("{scheme?}")>]
override this.Challenge : string * string * string * string * string * string * string -> Microsoft.AspNetCore.Mvc.IActionResult
Public Function Challenge (redirectUri As String, scope As String, loginHint As String, domainHint As String, claims As String, policy As String, scheme As String) As IActionResult

Parameters

redirectUri
String

Redirect URI.

scope
String

Scopes to request.

loginHint
String

Login hint.

domainHint
String

Domain hint.

claims
String

Claims.

policy
String

AAD B2C policy.

scheme
String

Authentication scheme.

Returns

Challenge generating a redirect to Azure AD to sign in the user.

Attributes

Applies to