Uses of Interface
org.keycloak.authorization.model.Scope
-
Packages that use Scope Package Description 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.models.utils -
-
Uses of Scope in org.keycloak.authorization.model
Fields 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.permission
Methods 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.evaluation
Method 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.store
Methods 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.models.utils
Methods 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)
-