ControllerActionInvoker.InvokeAuthorizationFilters Method (ControllerContext, IList<IAuthorizationFilter>, ActionDescriptor)

 

Invokes the specified authorization filters by using the specified action descriptor and controller context.

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

protected virtual AuthorizationContext InvokeAuthorizationFilters(
	ControllerContext controllerContext,
	IList<IAuthorizationFilter> filters,
	ActionDescriptor actionDescriptor
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

filters
Type: System.Collections.Generic.IList<IAuthorizationFilter>

The authorization filters.

actionDescriptor
Type: System.Web.Mvc.ActionDescriptor

The action descriptor.

Return Value

Type: System.Web.Mvc.AuthorizationContext

The context for the AuthorizeAttribute object.

Return to top
Show: