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
System_CAPS_pubmethod HttpAuthenticationContext(HttpActionContext, IPrincipal)

Initializes a new instance of the HttpAuthenticationContext class.

Properties

Name Description
System_CAPS_pubproperty ActionContext

Gets the action context.

System_CAPS_pubproperty ErrorResult

Gets or sets an action result that will produce an error response (if authentication failed; otherwise, null).

System_CAPS_pubproperty Principal

Gets or sets the authenticated principal.

System_CAPS_pubproperty Request

Gets the request message.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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