| Package | Description |
|---|---|
| org.keycloak.authorization.store |
Provides classes and a SPI to plug different metadata storage implementations.
|
| org.keycloak.models.utils |
| Modifier and Type | Method and Description |
|---|---|
PermissionTicket |
PermissionTicketStore.create(String resourceId,
String scopeId,
String requester,
ResourceServer resourceServer)
Creates a new
PermissionTicket instance. |
PermissionTicket |
PermissionTicketStore.findById(String id,
String resourceServerId)
Returns a
PermissionTicket with the given id |
| Modifier and Type | Method and Description |
|---|---|
List<PermissionTicket> |
PermissionTicketStore.find(Map<String,String> attributes,
String resourceServerId,
int firstResult,
int maxResult) |
List<PermissionTicket> |
PermissionTicketStore.findByOwner(String owner,
String resourceServerId)
Returns a list of
PermissionTicket associated with the given owner. |
List<PermissionTicket> |
PermissionTicketStore.findByResource(String resourceId,
String resourceServerId)
Returns a list of
PermissionTicket associated with a authorization.core.model.Resource with the given resourceId. |
List<PermissionTicket> |
PermissionTicketStore.findByResourceServer(String resourceServerId)
Returns a list of
PermissionTicket associated with a ResourceServer with the given resourceServerId. |
List<PermissionTicket> |
PermissionTicketStore.findByScope(String scopeId,
String resourceServerId)
Returns a list of
PermissionTicket associated with a authorization.core.model.Scope with the given scopeId. |
| Modifier and Type | Method and Description |
|---|---|
static PermissionTicket |
RepresentationToModel.toModel(PermissionTicketRepresentation representation,
String resourceServerId,
AuthorizationProvider authorization) |
| Modifier and Type | Method and Description |
|---|---|
static PermissionTicketRepresentation |
ModelToRepresentation.toRepresentation(PermissionTicket ticket) |
static PermissionTicketRepresentation |
ModelToRepresentation.toRepresentation(PermissionTicket ticket,
boolean returnNames) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.