AuthenticationContext Class
Represents an authentication context containing information for performing authentication.
Namespace: System.Web.Mvc.Filters
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
System.Web.Mvc.ControllerContext
System.Web.Mvc.Filters.AuthenticationContext
Syntax
public class AuthenticationContext : ControllerContext
public ref class AuthenticationContext : ControllerContext
type AuthenticationContext =
class
inherit ControllerContext
end
Public Class AuthenticationContext
Inherits ControllerContext
Constructors
Name | Description | |
---|---|---|
![]() |
AuthenticationContext() | Initializes a new instance of the AuthenticationContext class. |
![]() |
AuthenticationContext(ControllerContext, ActionDescriptor, IPrincipal) |
Properties
Name | Description | |
---|---|---|
![]() |
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.) |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Mvc.Filters Namespace
Return to top