ChallengeResult Class
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.
An ActionResult that on execution invokes HttpContext.ChallengeAsync.
public ref class ChallengeResult : Microsoft::AspNetCore::Mvc::ActionResult
public class ChallengeResult : Microsoft.AspNetCore.Mvc.ActionResult
type ChallengeResult = class
inherit ActionResult
Public Class ChallengeResult
Inherits ActionResult
- Inheritance
Constructors
ChallengeResult() |
Initializes a new instance of ChallengeResult. |
ChallengeResult(AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified |
ChallengeResult(AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified |
ChallengeResult(IList<String>, AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified authentication schemes and |
ChallengeResult(IList<String>, AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified authentication schemes and |
ChallengeResult(IList<String>) |
Initializes a new instance of ChallengeResult with the specified authentication schemes. |
ChallengeResult(String, AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified authentication scheme and |
ChallengeResult(String, AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified authentication scheme and |
ChallengeResult(String) |
Initializes a new instance of ChallengeResult with the specified authentication scheme. |
Properties
AuthenticationSchemes |
Gets or sets the authentication schemes that are challenged. |
Properties |
Gets or sets the AuthenticationProperties used to perform the authentication challenge. |
Methods
ExecuteResult(ActionContext) |
Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method. (Inherited from ActionResult) |
ExecuteResultAsync(ActionContext) |
Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method. The default implementation of this method calls the ExecuteResult(ActionContext) method and returns a completed task. |