ValidateAntiForgeryTokenAttribute.OnAuthorization Method (AuthorizationContext)
Called when authorization is required.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract OnAuthorization : filterContext:AuthorizationContext -> unit override OnAuthorization : filterContext:AuthorizationContext -> unit
Parameters
- filterContext
-
Type:
System.Web.Mvc.AuthorizationContext
The filter context.
| Exception | Condition |
|---|---|
| ArgumentNullException | The filterContext parameter is null. |
Show: