keycloak
|
公開メンバ関数 | |
PermissionResource (Http http, ServerConfiguration serverConfiguration, TokenCallable pat) | |
PermissionResponse | forResource (PermissionRequest request) |
PermissionResponse | create (PermissionRequest request) |
PermissionResponse | create (final List< PermissionRequest > requests) |
PermissionTicketRepresentation | create (final PermissionTicketRepresentation ticket) |
List< PermissionTicketRepresentation > | findByScope (final String scopeId) |
List< PermissionTicketRepresentation > | findByResource (final String resourceId) |
List< PermissionTicketRepresentation > | find (final String resourceId, final String scopeId, final String owner, final String requester, final Boolean granted, final Boolean returnNames, final Integer firstResult, final Integer maxResult) |
void | update (final PermissionTicketRepresentation ticket) |
非公開変数類 | |
final Http | http |
final ServerConfiguration | serverConfiguration |
final TokenCallable | pat |
An entry point for managing permission tickets using the Protection API.
|
inline |
|
inline |
Creates a new permission ticket for a single resource and scope(s).
request | the PermissionRequest representing the resource and scope(s) (not null |
|
inline |
Creates a new permission ticket for a set of one or more resource and scope(s).
request | the PermissionRequest representing the resource and scope(s) (not null |
|
inline |
Creates a new uma permission for a single resource and scope(s).
ticket | the PermissionTicketRepresentation representing the resource and scope(s) (not null |
|
inline |
Query the server for any permission ticket with the matching arguments.
resourceId | the resource id or name |
scopeId | the scope id or name |
owner | the owner id or name |
requester | the requester id or name |
granted | if true, only permission tickets marked as granted are returned. |
returnNames | if the response should include names for resource, scope and owner |
firstResult | the position of the first resource to retrieve |
maxResult | the maximum number of resources to retrieve |
|
inline |
Query the server for any permission ticket associated with the given resourceId
.
resourceId | the resource id (not null |
resourceId
|
inline |
Query the server for any permission ticket associated with the given scopeId
.
scopeId | the scope id (not null |
scopeId
|
inline |
request |
|
inline |
Updates a permission ticket.
ticket | the permission ticket |
|
private |
|
private |
|
private |