Uses of Interface
org.keycloak.authorization.model.Scope
Packages that use Scope
Package
Description
Provides the domain model and any other type related with it
Provides classes related with the evaluation of policies.
Provides classes and a SPI to plug different metadata storage implementations.
-
Uses of Scope in org.keycloak.authorization.admin
Method parameters in org.keycloak.authorization.admin with type arguments of type ScopeModifier and TypeMethodDescriptionprotected void
PolicyEvaluationService.EvaluationDecisionCollector.grantPermission
(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result) -
Uses of Scope in org.keycloak.authorization.jpa.store
Classes in org.keycloak.authorization.jpa.store that implement ScopeMethods in org.keycloak.authorization.jpa.store that return ScopeModifier and TypeMethodDescriptionJPAScopeStore.create
(ResourceServer resourceServer, String name) JPAScopeStore.create
(ResourceServer resourceServer, String id, String name) JPAScopeStore.findById
(ResourceServer resourceServer, String id) JPAScopeStore.findByName
(ResourceServer resourceServer, String name) PermissionTicketAdapter.getScope()
Methods in org.keycloak.authorization.jpa.store that return types with arguments of type ScopeModifier and TypeMethodDescriptionJPAScopeStore.findByResourceServer
(ResourceServer resourceServer) JPAScopeStore.findByResourceServer
(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) PolicyAdapter.getScopes()
ResourceAdapter.getScopes()
Methods in org.keycloak.authorization.jpa.store with parameters of type ScopeModifier and TypeMethodDescriptionvoid
JPAPermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) JPAPermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) void
PolicyAdapter.removeScope
(Scope scope) static ScopeEntity
Method parameters in org.keycloak.authorization.jpa.store with type arguments of type ScopeModifier and TypeMethodDescriptionJPAPolicyStore.findByScopes
(ResourceServer resourceServer, List<Scope> scopes) void
JPAPolicyStore.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) void
JPAResourceStore.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) void
ResourceAdapter.updateScopes
(Set<Scope> toUpdate) -
Uses of Scope in org.keycloak.authorization.model
Methods in org.keycloak.authorization.model that return ScopeModifier and TypeMethodDescriptionPermissionTicket.getScope()
Returns theScope
associated with this instanceMethods in org.keycloak.authorization.model that return types with arguments of type ScopeModifier and TypeMethodDescriptionPolicy.getScopes()
Returns theScope
instances where this policy applies.Resource.getScopes()
Methods in org.keycloak.authorization.model with parameters of type ScopeMethod parameters in org.keycloak.authorization.model with type arguments of type ScopeModifier and TypeMethodDescriptionvoid
Resource.updateScopes
(Set<Scope> scopes) Update the set of scopes associated with this resource. -
Uses of Scope in org.keycloak.authorization.permission
Methods in org.keycloak.authorization.permission that return types with arguments of type ScopeModifier and TypeMethodDescriptionResourcePermission.getScopes()
Returns a list of permitted scopes associated with the resourcePermissions.resolveScopes
(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization) Methods in org.keycloak.authorization.permission with parameters of type ScopeModifier and TypeMethodDescriptionvoid
static ResourcePermission
Permissions.permission
(ResourceServer server, Resource resource, Scope scope) Method parameters in org.keycloak.authorization.permission with type arguments of type ScopeModifier and TypeMethodDescriptionstatic ResourcePermission
Permissions.createResourcePermissions
(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request) Permissions.resolveScopes
(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization) Constructor parameters in org.keycloak.authorization.permission with type arguments of type ScopeModifierConstructorDescriptionResourcePermission
(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer) ResourcePermission
(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer, Map<String, ? extends Collection<String>> claims) -
Uses of Scope in org.keycloak.authorization.policy.evaluation
Method parameters in org.keycloak.authorization.policy.evaluation with type arguments of type ScopeModifier and TypeMethodDescriptionprotected void
DecisionPermissionCollector.grantPermission
(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result) -
Uses of Scope in org.keycloak.authorization.store
Methods in org.keycloak.authorization.store that return ScopeModifier and TypeMethodDescriptiondefault Scope
ScopeStore.create
(ResourceServer resourceServer, String name) Creates a newScope
instance.ScopeStore.create
(ResourceServer resourceServer, String id, String name) Creates a newScope
instance.ScopeStore.findById
(ResourceServer resourceServer, String id) Returns aScope
with the givenid
ScopeStore.findByName
(ResourceServer resourceServer, String name) Returns aScope
with the givenname
Methods in org.keycloak.authorization.store that return types with arguments of type ScopeModifier and TypeMethodDescriptionScopeStore.findByResourceServer
(ResourceServer resourceServer) Returns a list ofScope
associated with theResourceServer
.ScopeStore.findByResourceServer
(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) Methods in org.keycloak.authorization.store with parameters of type ScopeModifier and TypeMethodDescriptionPermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) Creates a newPermissionTicket
instance.PermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) Returns a list ofPermissionTicket
associated with thescope
.Method parameters in org.keycloak.authorization.store with type arguments of type ScopeModifier and TypeMethodDescriptionPolicyStore.findByScopes
(ResourceServer resourceServer, List<Scope> scopes) PolicyStore.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes) void
PolicyStore.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) Effectively the same method asPolicyStore.findByScopes(ResourceServer, Resource, List)
, however in the end theconsumer
is fed with the result.ResourceStore.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes) Finds allResource
associated with a given scope.void
ResourceStore.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) -
Uses of Scope in org.keycloak.models.cache.infinispan.authorization
Classes in org.keycloak.models.cache.infinispan.authorization that implement ScopeFields in org.keycloak.models.cache.infinispan.authorization declared as ScopeFields in org.keycloak.models.cache.infinispan.authorization with type parameters of type ScopeMethods in org.keycloak.models.cache.infinispan.authorization that return ScopeModifier and TypeMethodDescriptionStoreFactoryCacheSession.ScopeCache.create
(ResourceServer resourceServer, String name) StoreFactoryCacheSession.ScopeCache.create
(ResourceServer resourceServer, String id, String name) StoreFactoryCacheSession.ScopeCache.findById
(ResourceServer resourceServer, String id) StoreFactoryCacheSession.ScopeCache.findByName
(ResourceServer resourceServer, String name) ScopeAdapter.getDelegateForUpdate()
PermissionTicketAdapter.getScope()
Methods in org.keycloak.models.cache.infinispan.authorization that return types with arguments of type ScopeModifier and TypeMethodDescriptionStoreFactoryCacheSession.ScopeCache.findByResourceServer
(ResourceServer resourceServer) StoreFactoryCacheSession.ScopeCache.findByResourceServer
(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) PolicyAdapter.getScopes()
ResourceAdapter.getScopes()
Methods in org.keycloak.models.cache.infinispan.authorization with parameters of type ScopeModifier and TypeMethodDescriptionvoid
StoreFactoryCacheSession.PermissionTicketCache.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) StoreFactoryCacheSession.PermissionTicketCache.findByScope
(ResourceServer resourceServer, Scope scope) void
PolicyAdapter.removeScope
(Scope scope) Method parameters in org.keycloak.models.cache.infinispan.authorization with type arguments of type ScopeModifier and TypeMethodDescriptionStoreFactoryCacheSession.PolicyCache.findByScopes
(ResourceServer resourceServer, List<Scope> scopes) StoreFactoryCacheSession.PolicyCache.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes) void
StoreFactoryCacheSession.PolicyCache.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) StoreFactoryCacheSession.ResourceCache.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes) void
StoreFactoryCacheSession.ResourceCache.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) void
ResourceAdapter.updateScopes
(Set<Scope> scopes) -
Uses of Scope in org.keycloak.models.cache.infinispan.authorization.entities
Constructors in org.keycloak.models.cache.infinispan.authorization.entities with parameters of type Scope -
Uses of Scope in org.keycloak.models.utils
Methods in org.keycloak.models.utils that return ScopeModifier and TypeMethodDescriptionstatic Scope
RepresentationToModel.toModel
(ScopeRepresentation scope, ResourceServer resourceServer, AuthorizationProvider authorization) static Scope
RepresentationToModel.toModel
(ScopeRepresentation scope, ResourceServer resourceServer, AuthorizationProvider authorization, boolean updateIfExists) Methods in org.keycloak.models.utils with parameters of type ScopeModifier and TypeMethodDescriptionstatic ScopeRepresentation
ModelToRepresentation.toRepresentation
(Scope model)