Uses of Interface
org.keycloak.authorization.model.Scope
- 
Packages that use Scope Package Description org.keycloak.authorization.admin org.keycloak.authorization.jpa.store org.keycloak.authorization.model Provides the domain model and any other type related with itorg.keycloak.authorization.permission org.keycloak.authorization.policy.evaluation Provides classes related with the evaluation of policies.org.keycloak.authorization.store Provides classes and a SPI to plug different metadata storage implementations.org.keycloak.forms.account.freemarker.model org.keycloak.models.cache.infinispan.authorization org.keycloak.models.cache.infinispan.authorization.entities org.keycloak.models.map.authorization org.keycloak.models.map.authorization.adapter org.keycloak.models.map.storage.chm org.keycloak.models.map.storage.jpa.authorization.scope org.keycloak.models.utils 
- 
- 
Uses of Scope in org.keycloak.authorization.adminMethod parameters in org.keycloak.authorization.admin with type arguments of type Scope Modifier and Type Method Description protected 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.storeClasses in org.keycloak.authorization.jpa.store that implement Scope Modifier and Type Class Description classScopeAdapterMethods in org.keycloak.authorization.jpa.store that return Scope Modifier and Type Method Description ScopeJPAScopeStore. create(ResourceServer resourceServer, String name)ScopeJPAScopeStore. create(ResourceServer resourceServer, String id, String name)ScopeJPAScopeStore. findById(RealmModel realm, ResourceServer resourceServer, String id)ScopeJPAScopeStore. findByName(ResourceServer resourceServer, String name)ScopePermissionTicketAdapter. getScope()Methods in org.keycloak.authorization.jpa.store that return types with arguments of type Scope Modifier and Type Method Description List<Scope>JPAScopeStore. findByResourceServer(ResourceServer resourceServer)List<Scope>JPAScopeStore. findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)Set<Scope>PolicyAdapter. getScopes()List<Scope>ResourceAdapter. getScopes()Methods in org.keycloak.authorization.jpa.store with parameters of type Scope Modifier and Type Method Description voidPolicyAdapter. addScope(Scope scope)PermissionTicketJPAPermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)List<PermissionTicket>JPAPermissionTicketStore. findByScope(ResourceServer resourceServer, Scope scope)voidPolicyAdapter. removeScope(Scope scope)static ScopeEntityScopeAdapter. toEntity(javax.persistence.EntityManager em, Scope scope)Method parameters in org.keycloak.authorization.jpa.store with type arguments of type Scope Modifier and Type Method Description List<Policy>JPAPolicyStore. 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.modelFields in org.keycloak.authorization.model with type parameters of type Scope Modifier and Type Field Description static SearchableModelField<Scope>Scope.SearchableFields. IDstatic SearchableModelField<Scope>Scope.SearchableFields. NAMEstatic SearchableModelField<Scope>Scope.SearchableFields. REALM_IDstatic SearchableModelField<Scope>Scope.SearchableFields. RESOURCE_SERVER_IDMethods in org.keycloak.authorization.model that return Scope Modifier and Type Method Description ScopePermissionTicket. getScope()Returns theScopeassociated with this instanceMethods in org.keycloak.authorization.model that return types with arguments of type Scope Modifier and Type Method Description Set<Scope>Policy. getScopes()Returns theScopeinstances where this policy applies.List<Scope>Resource. getScopes()SearchableModelField<Scope>Scope.FilterOption. getSearchableModelField()Methods in org.keycloak.authorization.model with parameters of type Scope Modifier and Type Method Description voidPolicy. addScope(Scope scope)voidPolicy. removeScope(Scope scope)Method parameters in org.keycloak.authorization.model with type arguments of type Scope Modifier and Type Method Description voidResource. updateScopes(Set<Scope> scopes)Update the set of scopes associated with this resource.
- 
Uses of Scope in org.keycloak.authorization.permissionMethods in org.keycloak.authorization.permission that return types with arguments of type Scope Modifier and Type Method Description Collection<Scope>ResourcePermission. getScopes()Returns a list of permitted scopes associated with the resourcestatic Set<Scope>Permissions. resolveScopes(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization)Methods in org.keycloak.authorization.permission with parameters of type Scope Modifier and Type Method Description voidResourcePermission. addScope(Scope scope)static ResourcePermissionPermissions. permission(ResourceServer server, Resource resource, Scope scope)Method parameters in org.keycloak.authorization.permission with type arguments of type Scope Modifier and Type Method Description static ResourcePermissionPermissions. createResourcePermissions(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request)static Set<Scope>Permissions. resolveScopes(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization)Constructor parameters in org.keycloak.authorization.permission with type arguments of type Scope Constructor Description 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.evaluationMethod parameters in org.keycloak.authorization.policy.evaluation with type arguments of type Scope Modifier and Type Method Description protected 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.storeMethods in org.keycloak.authorization.store that return Scope Modifier and Type Method Description default ScopeScopeStore. create(ResourceServer resourceServer, String name)Creates a newScopeinstance.ScopeScopeStore. create(ResourceServer resourceServer, String id, String name)Creates a newScopeinstance.ScopeScopeStore. findById(RealmModel realm, ResourceServer resourceServer, String id)Returns aScopewith the givenidScopeScopeStore. findByName(ResourceServer resourceServer, String name)Returns aScopewith the givennameMethods in org.keycloak.authorization.store that return types with arguments of type Scope Modifier and Type Method Description List<Scope>ScopeStore. findByResourceServer(ResourceServer resourceServer)Returns a list ofScopeassociated with theResourceServer.List<Scope>ScopeStore. findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)Methods in org.keycloak.authorization.store with parameters of type Scope Modifier and Type Method Description PermissionTicketPermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)Creates a newPermissionTicketinstance.List<PermissionTicket>PermissionTicketStore. findByScope(ResourceServer resourceServer, Scope scope)Returns a list ofPermissionTicketassociated with thescope.Method parameters in org.keycloak.authorization.store with type arguments of type Scope Modifier and Type Method Description List<Policy>PolicyStore. findByScopes(ResourceServer resourceServer, List<Scope> scopes)default List<Policy>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.default List<Resource>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.forms.account.freemarker.modelMethods in org.keycloak.forms.account.freemarker.model that return Scope Modifier and Type Method Description ScopeAuthorizationBean.PermissionScopeBean. getScope()
- 
Uses of Scope in org.keycloak.models.cache.infinispan.authorizationClasses in org.keycloak.models.cache.infinispan.authorization that implement Scope Modifier and Type Class Description classScopeAdapterFields in org.keycloak.models.cache.infinispan.authorization declared as Scope Modifier and Type Field Description protected ScopeScopeAdapter. updatedFields in org.keycloak.models.cache.infinispan.authorization with type parameters of type Scope Modifier and Type Field Description protected Set<Scope>PolicyAdapter. scopesprotected List<Scope>ResourceAdapter. scopesMethods in org.keycloak.models.cache.infinispan.authorization that return Scope Modifier and Type Method Description ScopeStoreFactoryCacheSession.ScopeCache. create(ResourceServer resourceServer, String name)ScopeStoreFactoryCacheSession.ScopeCache. create(ResourceServer resourceServer, String id, String name)ScopeStoreFactoryCacheSession.ScopeCache. findById(RealmModel realm, ResourceServer resourceServer, String id)ScopeStoreFactoryCacheSession.ScopeCache. findByName(ResourceServer resourceServer, String name)ScopeScopeAdapter. getDelegateForUpdate()ScopePermissionTicketAdapter. getScope()Methods in org.keycloak.models.cache.infinispan.authorization that return types with arguments of type Scope Modifier and Type Method Description List<Scope>StoreFactoryCacheSession.ScopeCache. findByResourceServer(ResourceServer resourceServer)List<Scope>StoreFactoryCacheSession.ScopeCache. findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)Set<Scope>PolicyAdapter. getScopes()List<Scope>ResourceAdapter. getScopes()Methods in org.keycloak.models.cache.infinispan.authorization with parameters of type Scope Modifier and Type Method Description voidPolicyAdapter. addScope(Scope scope)PermissionTicketStoreFactoryCacheSession.PermissionTicketCache. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)List<PermissionTicket>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 Scope Modifier and Type Method Description List<Policy>StoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, List<Scope> scopes)List<Policy>StoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes)voidStoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)List<Resource>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.entitiesConstructors in org.keycloak.models.cache.infinispan.authorization.entities with parameters of type Scope Constructor Description CachedScope(Long revision, Scope scope)
- 
Uses of Scope in org.keycloak.models.map.authorizationMethods in org.keycloak.models.map.authorization that return Scope Modifier and Type Method Description ScopeMapScopeStore. create(ResourceServer resourceServer, String id, String name)ScopeMapScopeStore. findById(RealmModel realm, ResourceServer resourceServer, String id)ScopeMapScopeStore. findByName(ResourceServer resourceServer, String name)Methods in org.keycloak.models.map.authorization that return types with arguments of type Scope Modifier and Type Method Description List<Scope>MapScopeStore. findByResourceServer(ResourceServer resourceServer)List<Scope>MapScopeStore. findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)Methods in org.keycloak.models.map.authorization with parameters of type Scope Modifier and Type Method Description PermissionTicketMapPermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)List<PermissionTicket>MapPermissionTicketStore. findByScope(ResourceServer resourceServer, Scope scope)Method parameters in org.keycloak.models.map.authorization with type arguments of type Scope Modifier and Type Method Description List<Policy>MapPolicyStore. findByScopes(ResourceServer resourceServer, List<Scope> scopes)voidMapPolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)voidMapResourceStore. findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer)Constructor parameters in org.keycloak.models.map.authorization with type arguments of type Scope Constructor Description MapScopeStore(MapStorage<MapScopeEntity,Scope> scopeStore, AuthorizationProvider provider)
- 
Uses of Scope in org.keycloak.models.map.authorization.adapterClasses in org.keycloak.models.map.authorization.adapter that implement Scope Modifier and Type Class Description classAbstractScopeModel<E extends AbstractEntity>classMapScopeAdapterMethods in org.keycloak.models.map.authorization.adapter that return Scope Modifier and Type Method Description ScopeMapPermissionTicketAdapter. getScope()Methods in org.keycloak.models.map.authorization.adapter that return types with arguments of type Scope Modifier and Type Method Description Set<Scope>MapPolicyAdapter. getScopes()List<Scope>MapResourceAdapter. getScopes()Methods in org.keycloak.models.map.authorization.adapter with parameters of type Scope Modifier and Type Method Description voidMapPolicyAdapter. addScope(Scope scope)voidMapPolicyAdapter. removeScope(Scope scope)Method parameters in org.keycloak.models.map.authorization.adapter with type arguments of type Scope Modifier and Type Method Description voidMapResourceAdapter. updateScopes(Set<Scope> scopes)
- 
Uses of Scope in org.keycloak.models.map.storage.chmFields in org.keycloak.models.map.storage.chm with type parameters of type Scope Modifier and Type Field Description static Map<SearchableModelField<Scope>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapScopeEntity,Scope>>MapFieldPredicates. AUTHZ_SCOPE_PREDICATESstatic Map<SearchableModelField<Scope>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapScopeEntity,Scope>>MapFieldPredicates. AUTHZ_SCOPE_PREDICATES
- 
Uses of Scope in org.keycloak.models.map.storage.jpa.authorization.scopeMethod parameters in org.keycloak.models.map.storage.jpa.authorization.scope with type arguments of type Scope Modifier and Type Method Description JpaScopeModelCriteriaBuilderJpaScopeModelCriteriaBuilder. compare(SearchableModelField<? super Scope> modelField, ModelCriteriaBuilder.Operator op, Object... value)
- 
Uses of Scope in org.keycloak.models.utilsMethods in org.keycloak.models.utils that return Scope Modifier and Type Method Description static 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 Scope Modifier and Type Method Description static ScopeRepresentationModelToRepresentation. toRepresentation(Scope model)
 
-