C# Class Aspectacular.DemandAspNetRoleAttribute

Inheritance: AuthorizationDemandAttribute
Afficher le fichier Open project: vgribok/Aspectacular

Méthodes publiques

Méthode Description
DemandAspNetRoleAttribute ( ) : System

Marks methods and classes as requiring current user to the member of one or more ASP.NET security roles. User must be a member of at least one demanded role in order to be authorized.

DemandAspNetRoleAttribute ( bool trueDemandAny_falseDemandAll ) : System

Marks methods and classes as requiring current user to the member of one or more ASP.NET security roles.

Méthodes protégées

Méthode Description
GetAuthorizedClaims ( ) : IEnumerable

Method Details

DemandAspNetRoleAttribute() public méthode

Marks methods and classes as requiring current user to the member of one or more ASP.NET security roles. User must be a member of at least one demanded role in order to be authorized.
public DemandAspNetRoleAttribute ( ) : System
Résultat System

DemandAspNetRoleAttribute() public méthode

Marks methods and classes as requiring current user to the member of one or more ASP.NET security roles.
public DemandAspNetRoleAttribute ( bool trueDemandAny_falseDemandAll ) : System
trueDemandAny_falseDemandAll bool /// If true, user must me a member of *at least one* role. If false, user must /// be a member of *all* roles. ///
Résultat System

GetAuthorizedClaims() protected méthode

protected GetAuthorizedClaims ( ) : IEnumerable
Résultat IEnumerable