AccountController.Challenge Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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