HttpAuthenticationContext Class
Represents an authentication context containing information for performing authentication.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Filters.HttpAuthenticationContext
Syntax
public class HttpAuthenticationContext
public ref class HttpAuthenticationContext
type HttpAuthenticationContext = class end
Public Class HttpAuthenticationContext
Constructors
Name | Description | |
---|---|---|
HttpAuthenticationContext(HttpActionContext, IPrincipal) | Initializes a new instance of the HttpAuthenticationContext class. |
Properties
Name | Description | |
---|---|---|
ActionContext | Gets the action context. |
|
ErrorResult | Gets or sets an action result that will produce an error response (if authentication failed; otherwise, null). |
|
Principal | Gets or sets the authenticated principal. |
|
Request | Gets the request message. |
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.Http.Filters Namespace
Return to top