Controller.OnAuthorization(AuthorizationContext) Method

Definition

Called when authorization occurs.

protected virtual void OnAuthorization (System.Web.Mvc.AuthorizationContext filterContext);
abstract member OnAuthorization : System.Web.Mvc.AuthorizationContext -> unit
override this.OnAuthorization : System.Web.Mvc.AuthorizationContext -> unit
Protected Overridable Sub OnAuthorization (filterContext As AuthorizationContext)

Parameters

filterContext
AuthorizationContext

Information about the current request and action.

Implements

Applies to