AuthorizeAttribute.OnAuthorization(AuthorizationContext) AuthorizeAttribute.OnAuthorization(AuthorizationContext) AuthorizeAttribute.OnAuthorization(AuthorizationContext) Method

Definition

Called when a process requests authorization.

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

Parameters

filterContext
AuthorizationContext AuthorizationContext AuthorizationContext

The filter context, which encapsulates information for using AuthorizeAttribute.

Implements

Exceptions

Applies to