C# Class Web.Generics.ApplicationServices.SpecializedAuthorizeAttribute

A specialized AuthorizeAttribute for handling custom and multiple login urls
Inheritance: System.Web.Mvc.AuthorizeAttribute
Show file Open project: inspira/Web.Generics

Public Methods

Method Description
CacheValidationHandler ( HttpContext context, object data, HttpValidationStatus &validationStatus ) : void
OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void

Protected Methods

Method Description
SetCachePolicy ( System.Web.Mvc.AuthorizationContext filterContext ) : void

Private Methods

Method Description
Deny ( System.Web.Mvc.AuthorizationContext filterContext ) : void
Redirect ( string returnUrl ) : System.Web.Mvc.ActionResult
VerifyRoles ( System.Web.Mvc.AuthorizationContext filterContext ) : bool

Method Details

CacheValidationHandler() public method

public CacheValidationHandler ( HttpContext context, object data, HttpValidationStatus &validationStatus ) : void
context System.Web.HttpContext
data object
validationStatus HttpValidationStatus
return void

OnAuthorization() public method

public OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void
filterContext System.Web.Mvc.AuthorizationContext
return void

SetCachePolicy() protected method

protected SetCachePolicy ( System.Web.Mvc.AuthorizationContext filterContext ) : void
filterContext System.Web.Mvc.AuthorizationContext
return void