ChallengeResult Class

Definition

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
ChallengeResult

Constructors

ChallengeResult()

Initializes a new instance of ChallengeResult.

ChallengeResult(AuthenticationProperties)

Initializes a new instance of ChallengeResult with the specified properties.

ChallengeResult(AuthenticationProperties)

Initializes a new instance of ChallengeResult with the specified properties.

ChallengeResult(IList<String>, AuthenticationProperties)

Initializes a new instance of ChallengeResult with the specified authentication schemes and properties.

ChallengeResult(IList<String>, AuthenticationProperties)

Initializes a new instance of ChallengeResult with the specified authentication schemes and properties.

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 properties.

ChallengeResult(String, AuthenticationProperties)

Initializes a new instance of ChallengeResult with the specified authentication scheme and properties.

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.

Applies to