C# Class EGSW.Framework.AdminRoleAuthorizeAttribute

Inheritance: System.Web.Mvc.FilterAttribute, IAuthorizationFilter
Afficher le fichier Open project: careerengine/EGSW-Project

Méthodes publiques

Méthode Description
AdminRoleAuthorizeAttribute ( ) : System
AdminRoleAuthorizeAttribute ( bool dontValidate ) : System
HasAdminAccess ( System.Web.Mvc.AuthorizationContext filterContext ) : bool
OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void

Private Methods

Méthode Description
GetAdminAuthorizeAttributes ( System.Web.Mvc.ActionDescriptor descriptor ) : IEnumerable
HandleUnauthorizedRequest ( System.Web.Mvc.AuthorizationContext filterContext ) : void
IsAdminPageRequested ( System.Web.Mvc.AuthorizationContext filterContext ) : bool

Method Details

AdminRoleAuthorizeAttribute() public méthode

public AdminRoleAuthorizeAttribute ( ) : System
Résultat System

AdminRoleAuthorizeAttribute() public méthode

public AdminRoleAuthorizeAttribute ( bool dontValidate ) : System
dontValidate bool
Résultat System

HasAdminAccess() public méthode

public HasAdminAccess ( System.Web.Mvc.AuthorizationContext filterContext ) : bool
filterContext System.Web.Mvc.AuthorizationContext
Résultat bool

OnAuthorization() public méthode

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