Method | Description | |
---|---|---|
CheckAccess ( AuthorizationContext context ) : bool |
Checks the authorization policy.
|
|
CheckAccess ( Collection |
Checks the authorization policy.
|
|
CheckAccess ( string resource, string action ) : bool |
Checks the authorization policy.
|
|
CheckAccess ( string resource, string action, IClaimsPrincipal principal ) : bool |
Checks the authorization policy.
|
|
DemandAccess ( AuthorizationContext context ) : void |
Checks the authorization policy. Will throw a SecurityException when check fails.
|
|
DemandAccess ( Collection |
Checks the authorization policy. Will throw a SecurityException when check fails.
|
|
DemandAccess ( string resource, string action ) : void |
Checks the authorization policy. Will throw a SecurityException when check fails.
|
|
DemandAccess ( string resource, string action, IClaimsPrincipal principal ) : void |
Checks the authorization policy. Will throw a SecurityException when check fails.
|
public static CheckAccess ( AuthorizationContext context ) : bool | ||
context | AuthorizationContext | The authorization context. |
return | bool |
public static CheckAccess ( Collection |
||
actions | Collection |
The actions. |
resources | Collection |
The resources. |
return | bool |
public static CheckAccess ( string resource, string action ) : bool | ||
resource | string | The resource. |
action | string | The action. |
return | bool |
public static CheckAccess ( string resource, string action, IClaimsPrincipal principal ) : bool | ||
resource | string | The resource. |
action | string | The action. |
principal | IClaimsPrincipal | The principal. |
return | bool |
public static DemandAccess ( AuthorizationContext context ) : void | ||
context | AuthorizationContext | The context. |
return | void |
public static DemandAccess ( Collection |
||
actions | Collection |
The actions. |
resources | Collection |
The resources. |
return | void |
public static DemandAccess ( string resource, string action ) : void | ||
resource | string | The resource. |
action | string | The action. |
return | void |
public static DemandAccess ( string resource, string action, IClaimsPrincipal principal ) : void | ||
resource | string | The resource. |
action | string | The action. |
principal | IClaimsPrincipal | The principal. |
return | void |