AuthorizeAttribute..::..HandleUnauthorizedRequest Method

Processes HTTP requests that fail authorization.

Namespace:  MichaelBrandonMorris.KingsportMillSafetyTraining
Assembly:  MichaelBrandonMorris.KingsportMillSafetyTraining (in MichaelBrandonMorris.KingsportMillSafetyTraining.dll)

Syntax


protected void HandleUnauthorizedRequest(
	AuthorizationContext filterContext
)
Protected Sub HandleUnauthorizedRequest ( _
	filterContext As AuthorizationContext _
)
protected:
void HandleUnauthorizedRequest(
	AuthorizationContext^ filterContext
)

Parameters

filterContext
Type: AuthorizationContext
Encapsulates the information for using AuthorizeAttribute. The filterContext object contains the controller, HTTP context, request context, action result, and route data.