keycloak
|
公開メンバ関数 | |
ResourcePermission (Resource resource, List< Scope > scopes, ResourceServer resourceServer) | |
ResourcePermission (Resource resource, ResourceServer resourceServer, Map< String, ? extends Collection< String >> claims) | |
ResourcePermission (Resource resource, List< Scope > scopes, ResourceServer resourceServer, Map< String, ? extends Collection< String >> claims) | |
Resource | getResource () |
List< Scope > | getScopes () |
ResourceServer | getResourceServer () |
Map< String, Set< String > > | getClaims () |
boolean | addClaim (String name, String value) |
void | removeClaim (String name) |
void | addScope (Scope scope) |
void | addClaims (Map< String, Set< String >> claims) |
非公開変数類 | |
final Resource | resource |
final List< Scope > | scopes |
ResourceServer | resourceServer |
Map< String, Set< String > > | claims |
Represents a permission for a given resource.
|
inline |
|
inline |
|
inline |
|
inline |
Adds a permission claim with the given name and a single value.
If a claim already exists, the value is added to list of values of the existing claim
name | the name of the claim |
value | the value of the claim |
|
inline |
|
inline |
|
inline |
Returns all permission claims.
|
inline |
Returns the resource to which this permission applies.
|
inline |
Returns the resource server associated with this permission.
|
inline |
Returns a list of permitted scopes associated with the resource
|
inline |
Removes a permission claim.
name | the name of the claim |
|
private |
|
private |
|
private |
|
private |