Uses of Interface
org.keycloak.authorization.model.Scope
Packages that use Scope
Package
Description
Fine-grained Authorization SPI.
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
Methods in org.keycloak.authorization that return ScopeModifier and TypeMethodDescriptionAdminPermissionsSchema.getScope(KeycloakSession session, ResourceServer resourceServer, String resourceType, String id) Methods in org.keycloak.authorization with parameters of type ScopeModifier and TypeMethodDescriptionAdminPermissionsSchema.getScopeAliases(String resourceType, Scope scope) booleanbooleanConstructor parameters in org.keycloak.authorization with type arguments of type ScopeModifierConstructorDescriptionFGAPEvaluation(Evaluation evaluation, Map<Scope, Set<Resource>> scopesGrantedByResource) -
Uses of Scope in org.keycloak.authorization.admin
Method parameters in org.keycloak.authorization.admin with type arguments of type ScopeModifier and TypeMethodDescriptionprotected voidPolicyEvaluationService.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 TypeMethodDescriptionvoidJPAPermissionTicketStore.create(ResourceServer resourceServer, Resource resource, Scope scope, String requester) JPAPermissionTicketStore.findByScope(ResourceServer resourceServer, Scope scope) voidPolicyAdapter.removeScope(Scope scope) static ScopeEntityMethod parameters in org.keycloak.authorization.jpa.store with type arguments of type ScopeModifier and TypeMethodDescriptionJPAPolicyStore.findByScopes(ResourceServer resourceServer, List<Scope> scopes) voidJPAPolicyStore.findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) voidJPAResourceStore.findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) voidResourceAdapter.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 theScopeassociated with this instanceMethods in org.keycloak.authorization.model that return types with arguments of type ScopeModifier and TypeMethodDescriptionPolicy.getScopes()Returns theScopeinstances where this policy applies.Resource.getScopes()ResourceWrapper.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 TypeMethodDescriptionvoidResource.updateScopes(Set<Scope> scopes) Update the set of scopes associated with this resource.voidResourceWrapper.updateScopes(Set<Scope> scopes) Constructor parameters in org.keycloak.authorization.model with type arguments of type ScopeModifierConstructorDescriptionResourceWrapper(String id, String name, Set<Scope> scopes, ResourceServer resourceServer) ResourceWrapper(String name, Set<Scope> scopes, ResourceServer resourceServer) -
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 TypeMethodDescriptionvoidstatic ResourcePermissionPermissions.permission(ResourceServer server, Resource resource, Scope scope) Method parameters in org.keycloak.authorization.permission with type arguments of type ScopeModifier and TypeMethodDescriptionstatic ResourcePermissionPermissions.createResourcePermissions(String resourceType, Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request) static ResourcePermissionPermissions.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(String resourceType, Resource resource, Collection<Scope> scopes, ResourceServer resourceServer) ResourcePermission(String resourceType, Resource resource, Collection<Scope> scopes, ResourceServer resourceServer, Map<String, ? extends Collection<String>> claims) ResourcePermission(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
Methods in org.keycloak.authorization.policy.evaluation with parameters of type ScopeModifier and TypeMethodDescriptiondefault booleanIf the given scope should not be granted when the givendeniedPolicydenies access to a resource or a specific scope.default booleanIf the given scope should be granted when the givengrantedPolicyis granting access to a resource or a specific scope.Method parameters in org.keycloak.authorization.policy.evaluation with type arguments of type ScopeModifier and TypeMethodDescriptionprotected voidDecisionPermissionCollector.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 ScopeScopeStore.create(ResourceServer resourceServer, String name) Creates a newScopeinstance.ScopeStore.create(ResourceServer resourceServer, String id, String name) Creates a newScopeinstance.ScopeStore.findById(ResourceServer resourceServer, String id) Returns aScopewith the givenidScopeStore.findByName(ResourceServer resourceServer, String name) Returns aScopewith the givennameMethods in org.keycloak.authorization.store that return types with arguments of type ScopeModifier and TypeMethodDescriptionScopeStore.findByResourceServer(ResourceServer resourceServer) Returns a list ofScopeassociated 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 newPermissionTicketinstance.PermissionTicketStore.findByScope(ResourceServer resourceServer, Scope scope) Returns a list ofPermissionTicketassociated 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) voidPolicyStore.findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) Effectively the same method asPolicyStore.findByScopes(ResourceServer, Resource, List), however in the end theconsumeris fed with the result.ResourceStore.findByScopes(ResourceServer resourceServer, Set<Scope> scopes) Finds allResourceassociated with a given scope.voidResourceStore.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 TypeMethodDescriptionvoidStoreFactoryCacheSession.PermissionTicketCache.create(ResourceServer resourceServer, Resource resource, Scope scope, String requester) StoreFactoryCacheSession.PermissionTicketCache.findByScope(ResourceServer resourceServer, Scope scope) voidPolicyAdapter.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) voidStoreFactoryCacheSession.PolicyCache.findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) StoreFactoryCacheSession.ResourceCache.findByScopes(ResourceServer resourceServer, Set<Scope> scopes) voidStoreFactoryCacheSession.ResourceCache.findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) voidResourceAdapter.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 ScopeRepresentationToModel.toModel(ScopeRepresentation scope, ResourceServer resourceServer, AuthorizationProvider authorization) static ScopeRepresentationToModel.toModel(ScopeRepresentation scope, ResourceServer resourceServer, AuthorizationProvider authorization, boolean updateIfExists) Methods in org.keycloak.models.utils with parameters of type ScopeModifier and TypeMethodDescriptionstatic ScopeRepresentationModelToRepresentation.toRepresentation(Scope model)