ValidateAntiForgeryTokenAttribute.OnAuthorization Method (AuthorizationContext)

 

Called when authorization is required.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public void OnAuthorization(
	AuthorizationContext filterContext
)

Parameters

filterContext
Type: System.Web.Mvc.AuthorizationContext

The filter context.

Exception Condition
ArgumentNullException

The filterContext parameter is null.

Return to top
Show: