AuthenticationContext Class

Definition

Represents an authentication context containing information for performing authentication.

public class AuthenticationContext : System.Web.Mvc.ControllerContext
type AuthenticationContext = class
    inherit ControllerContext
Public Class AuthenticationContext
Inherits ControllerContext
Inheritance
AuthenticationContext

Constructors

AuthenticationContext()

Initializes a new instance of the AuthenticationContext class.

AuthenticationContext(ControllerContext, ActionDescriptor, IPrincipal)

Properties

ActionDescriptor

Gets or sets the action descriptor.

Controller

Gets or sets the controller.

(Inherited from ControllerContext)
DisplayMode

Gets the display mode.

(Inherited from ControllerContext)
HttpContext

Gets or sets the HTTP context.

(Inherited from ControllerContext)
IsChildAction

Gets a value that indicates whether the associated action method is a child action.

(Inherited from ControllerContext)
ParentActionViewContext

Gets an object that contains the view context information for the parent action method.

(Inherited from ControllerContext)
Principal

Gets or sets the currently authenticated principal.

RequestContext

Gets or sets the request context.

(Inherited from ControllerContext)
Result

Gets or sets the error result, which indicates that authentication was attempted and failed.

RouteData

Gets or sets the URL route data.

(Inherited from ControllerContext)

Applies to