C# Class Aspectacular.AuthorizationAspect

Enforces claims/roles authorization for methods or classes decorated with subclasses of the AuthorizationDemandAttribute.
Inheritance: Aspect
Datei anzeigen Open project: vgribok/Aspectacular

Public Methods

Method Description
Step_2_BeforeTryingMethodExec ( ) : void

Protected Methods

Method Description
EnsureAuthorization ( ) : void
ThrowAuthorizationException ( string errorMsg ) : void

Method Details

EnsureAuthorization() protected method

protected EnsureAuthorization ( ) : void
return void

Step_2_BeforeTryingMethodExec() public method

public Step_2_BeforeTryingMethodExec ( ) : void
return void

ThrowAuthorizationException() protected method

protected ThrowAuthorizationException ( string errorMsg ) : void
errorMsg string
return void