C# Class Web.Generics.ApplicationServices.SpecializedAuthorizeAttribute

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

Méthodes publiques

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

Méthodes protégées

Méthode Description
SetCachePolicy ( System.Web.Mvc.AuthorizationContext filterContext ) : void

Private Methods

Méthode 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 méthode

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

OnAuthorization() public méthode

public OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void
filterContext System.Web.Mvc.AuthorizationContext
Résultat void

SetCachePolicy() protected méthode

protected SetCachePolicy ( System.Web.Mvc.AuthorizationContext filterContext ) : void
filterContext System.Web.Mvc.AuthorizationContext
Résultat void