Table of Contents

Class AuthenticationChallengeContext

Namespace
System.Web.Mvc.Filters
Assembly
System.Web.Mvc.dll

Represents an authentication challenge context containing information for executing an authentication challenge.

public class AuthenticationChallengeContext : ControllerContext
Inheritance
AuthenticationChallengeContext
Inherited Members

Constructors

AuthenticationChallengeContext()

Initializes a new instance of the AuthenticationChallengeContext class.

public AuthenticationChallengeContext()

AuthenticationChallengeContext(ControllerContext, ActionDescriptor, ActionResult)

Initializes a new instance of the AuthenticationChallengeContext class.

public AuthenticationChallengeContext(ControllerContext controllerContext, ActionDescriptor actionDescriptor, ActionResult result)

Parameters

controllerContext ControllerContext

The controller context.

actionDescriptor ActionDescriptor

The action methods associated with the challenge.

result ActionResult

The challenge response.

Properties

ActionDescriptor

Gets or sets the action descriptor.

public ActionDescriptor ActionDescriptor { get; set; }

Property Value

ActionDescriptor

The action descriptor associated with the challenge.

Result

Gets or sets the action result to execute.

public ActionResult Result { get; set; }

Property Value

ActionResult

The challenge response.