C# Class Aspectacular.AuthorizationDemandAttribute

Inheritance: System.Attribute
Show file Open project: vgribok/Aspectacular Class Usage Examples

Public Methods

Method Description
IsAuthorized ( ) : bool

Protected Methods

Method Description
AuthorizationDemandAttribute ( bool trueDemandAny_falseDemandAll, string demandedClaims ) : System.Security.Claims
GetAuthorizedClaims ( ) : IEnumerable
IsAuthorizedInternal ( ) : bool

Method Details

AuthorizationDemandAttribute() protected method

protected AuthorizationDemandAttribute ( bool trueDemandAny_falseDemandAll, string demandedClaims ) : System.Security.Claims
trueDemandAny_falseDemandAll bool
demandedClaims string
return System.Security.Claims

GetAuthorizedClaims() protected abstract method

protected abstract GetAuthorizedClaims ( ) : IEnumerable
return IEnumerable

IsAuthorized() public method

public IsAuthorized ( ) : bool
return bool

IsAuthorizedInternal() protected method

protected IsAuthorizedInternal ( ) : bool
return bool