Méthode | Description | |
---|---|---|
BuildComputerAccountToken ( |
||
BuildToken ( |
||
Has ( bool>.Func |
Checks if token contains the claim requested.
|
|
Has ( string ClaimKey ) : bool |
Checks if token contains the claim requested.
|
|
HasAll ( ) : bool |
Checks if token contains all the claims requested.
|
|
HasAll ( IEnumerable |
Checks if token contains all the claims requested.
|
|
HasAny ( ) : bool |
Checks if token contains at least one of the claims requested.
|
|
HasAny ( IEnumerable |
Checks if token contains at least one of the claims requested.
|
|
Require ( string ClaimKey ) : void |
Validates the token contains the claim required. An Disco.Services.Authorization.AccessDeniedException is thrown if the requirements are not met.
|
|
RequireAll ( ) : void |
Validates the token contains all the claims required. An Disco.Services.Authorization.AccessDeniedException is thrown if the requirements are not met.
|
|
RequireAny ( ) : void |
Validates the token contains at least one of the claims required. An Disco.Services.Authorization.AccessDeniedException is thrown if the requirements are not met.
|
Méthode | Description | |
---|---|---|
BuildRequireAllMessage ( IEnumerable |
||
BuildRequireAnyMessage ( IEnumerable |
||
BuildRequireMessage ( string ClaimKey ) : string | ||
GetRequireResource ( ) : string |
public static BuildComputerAccountToken ( |
||
User | ||
Résultat |
public static BuildToken ( |
||
User | ||
GroupMembership | IEnumerable |
|
Résultat |
public Has ( bool>.Func |
||
ClaimAccessor | bool>.Func | A lambda which validates the tokens |
Résultat | bool |
public Has ( string ClaimKey ) : bool | ||
ClaimKey | string | Claim Key from |
Résultat | bool |
public HasAll ( IEnumerable |
||
ClaimKeys | IEnumerable |
Claim Keys from |
Résultat | bool |
public HasAny ( IEnumerable |
||
ClaimKeys | IEnumerable |
Claim Keys from |
Résultat | bool |
public Require ( string ClaimKey ) : void | ||
ClaimKey | string | Claim Key from |
Résultat | void |