Uses of Interface
org.keycloak.authorization.model.PermissionTicket
Package
Description
Fine-grained Authorization SPI.
Provides classes and a SPI to plug different metadata storage implementations.
-
Uses of PermissionTicket in org.keycloak.authorization
Modifier and TypeMethodDescriptionstatic void
UserManagedPermissionUtil.removePolicy
(PermissionTicket ticket, StoreFactory storeFactory) static void
UserManagedPermissionUtil.updatePolicy
(PermissionTicket ticket, StoreFactory storeFactory) -
Uses of PermissionTicket in org.keycloak.authorization.jpa.store
Modifier and TypeMethodDescriptionJPAPermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) JPAPermissionTicketStore.findById
(ResourceServer resourceServer, String id) Modifier and TypeMethodDescriptionJPAPermissionTicketStore.find
(ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResult) JPAPermissionTicketStore.findByResource
(ResourceServer resourceServer, Resource resource) JPAPermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) JPAPermissionTicketStore.findGranted
(ResourceServer resourceServer, String userId) JPAPermissionTicketStore.findGranted
(ResourceServer resourceServer, String resourceName, String userId) Modifier and TypeMethodDescriptionstatic PermissionTicketEntity
PermissionTicketAdapter.toEntity
(jakarta.persistence.EntityManager em, PermissionTicket permission) -
Uses of PermissionTicket in org.keycloak.authorization.store
Modifier and TypeMethodDescriptionPermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) Creates a newPermissionTicket
instance.PermissionTicketStore.findById
(ResourceServer resourceServer, String id) Returns aPermissionTicket
with the givenid
Modifier and TypeMethodDescriptionPermissionTicketStore.find
(ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResults) Returns a list ofPermissionTicket
, filtered by the given attributes.PermissionTicketStore.findByResource
(ResourceServer resourceServer, Resource resource) Returns a list ofPermissionTicket
associated with theresource
.PermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) Returns a list ofPermissionTicket
associated with thescope
.PermissionTicketStore.findGranted
(ResourceServer resourceServer, String userId) Returns a list ofPermissionTicket
granted to the givenuserId
.PermissionTicketStore.findGranted
(ResourceServer resourceServer, String resourceName, String userId) -
Uses of PermissionTicket in org.keycloak.models.cache.infinispan.authorization
Modifier and TypeMethodDescriptionStoreFactoryCacheSession.PermissionTicketCache.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) StoreFactoryCacheSession.PermissionTicketCache.findById
(ResourceServer resourceServer, String id) PermissionTicketAdapter.getDelegateForUpdate()
Modifier and TypeMethodDescriptionStoreFactoryCacheSession.PermissionTicketCache.find
(ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResult) StoreFactoryCacheSession.PermissionTicketCache.findByResource
(ResourceServer resourceServer, Resource resource) StoreFactoryCacheSession.PermissionTicketCache.findByScope
(ResourceServer resourceServer, Scope scope) StoreFactoryCacheSession.PermissionTicketCache.findGranted
(ResourceServer resourceServer, String userId) StoreFactoryCacheSession.PermissionTicketCache.findGranted
(ResourceServer resourceServer, String resourceName, String userId) -
Uses of PermissionTicket in org.keycloak.models.cache.infinispan.authorization.entities
ModifierConstructorDescriptionCachedPermissionTicket
(Long revision, PermissionTicket permissionTicket) -
Uses of PermissionTicket in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic PermissionTicket
RepresentationToModel.toModel
(PermissionTicketRepresentation representation, ResourceServer resourceServer, AuthorizationProvider authorization) Modifier and TypeMethodDescriptionModelToRepresentation.toRepresentation
(PermissionTicket ticket, AuthorizationProvider authorization) ModelToRepresentation.toRepresentation
(PermissionTicket ticket, AuthorizationProvider authorization, boolean returnNames)