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
actionContext
Type: System.Web.Http.Controllers.HttpActionContextThe action context.
principal
Type: System.Security.Principal.IPrincipalThe current principal.
See Also
HttpAuthenticationContext Class
System.Web.Http.Filters Namespace
Return to top