Share via


HttpAuthenticationContext Constructor (HttpActionContext, IPrincipal)

 

Initializes a new instance of the HttpAuthenticationContext class.

Namespace:   System.Web.Http.Filters
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public HttpAuthenticationContext(
    HttpActionContext actionContext,
    IPrincipal principal
)
public:
HttpAuthenticationContext(
    HttpActionContext^ actionContext,
    IPrincipal^ principal
)
new : 
        actionContext:HttpActionContext *
        principal:IPrincipal -> HttpAuthenticationContext
Public Sub New (
    actionContext As HttpActionContext,
    principal As IPrincipal
)

Parameters

See Also

HttpAuthenticationContext Class
System.Web.Http.Filters Namespace

Return to top