AuthorizationFilterAttribute.OnAuthorization Method (HttpActionContext)
Calls when a process requests authorization.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public virtual void OnAuthorization(
HttpActionContext actionContext
)
public:
virtual void OnAuthorization(
HttpActionContext^ actionContext
)
abstract OnAuthorization :
actionContext:HttpActionContext -> unit
override OnAuthorization :
actionContext:HttpActionContext -> unit
Public Overridable Sub OnAuthorization (
actionContext As HttpActionContext
)
Parameters
actionContext
Type: System.Web.Http.Controllers.HttpActionContextThe action context, which encapsulates information for using AuthorizationFilterAttribute.
See Also
AuthorizationFilterAttribute Class
System.Web.Http.Filters Namespace
Return to top