## Uses of Interface
org.keycloak.authorization.model.ResourceServer

- Packages that use ResourceServer
  Package | Description
  --- | ---
  org.keycloak.authorization.admin |
  org.keycloak.authorization.admin.representation |
  org.keycloak.authorization.jpa.store |
  org.keycloak.authorization.model | Provides the domain model and any other type related with it
  org.keycloak.authorization.permission |
  org.keycloak.authorization.permission.evaluator |
  org.keycloak.authorization.policy.evaluation | Provides classes related with the evaluation of policies.
  org.keycloak.authorization.policy.provider | Provides classes and a SPI to plug different policy providers.
  org.keycloak.authorization.protection.permission |
  org.keycloak.authorization.protection.policy |
  org.keycloak.authorization.protection.resource |
  org.keycloak.authorization.store | Provides classes and a SPI to plug different metadata storage implementations.
  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 |
  org.keycloak.models.utils |
  org.keycloak.services.resources.admin.permissions |

- - ### Uses of ResourceServer in org.keycloak.authorization.admin

    Fields in org.keycloak.authorization.admin declared as ResourceServer
    Modifier and Type | Field and Description
    --- | ---
    `protected ResourceServer` | PolicyService.`resourceServer`
    `protected ResourceServer` | PolicyResourceService.`resourceServer`

    Methods in org.keycloak.authorization.admin that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `ResourceServer` | ResourceServerService.`create(boolean newClient)`

    Methods in org.keycloak.authorization.admin with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | PolicyEvaluationService.EvaluationDecisionCollector.`grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result)`

    Constructors in org.keycloak.authorization.admin with parameters of type ResourceServer
    Constructor and Description
    `EvaluationDecisionCollector(AuthorizationProvider authorizationProvider, ResourceServer resourceServer, AuthorizationRequest request)`
    `PermissionService(ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `PolicyResourceService(Policy policy, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `PolicyService(ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `PolicyTypeResourceService(Policy policy, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `PolicyTypeService(String type, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `ResourceServerService(AuthorizationProvider authorization, ResourceServer resourceServer, ClientModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `ResourceSetService(KeycloakSession session, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`
    `ScopeService(KeycloakSession session, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)`

  - ### Uses of ResourceServer in org.keycloak.authorization.admin.representation

    Methods in org.keycloak.authorization.admin.representation with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `static PolicyEvaluationResponse` | PolicyEvaluationResponseBuilder.`build(PolicyEvaluationService.EvaluationDecisionCollector decision, ResourceServer resourceServer, AuthorizationProvider authorization, KeycloakIdentity identity)`

  - ### Uses of ResourceServer in org.keycloak.authorization.jpa.store

    Classes in org.keycloak.authorization.jpa.store that implement ResourceServer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ResourceServerAdapter`

    Methods in org.keycloak.authorization.jpa.store that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `ResourceServer` | JPAResourceServerStore.`create(String clientId)`
    `ResourceServer` | JPAResourceServerStore.`findById(String id)`
    `ResourceServer` | ScopeAdapter.`getResourceServer()`
    `ResourceServer` | PolicyAdapter.`getResourceServer()`
    `ResourceServer` | PermissionTicketAdapter.`getResourceServer()`

    Methods in org.keycloak.authorization.jpa.store with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `Policy` | JPAPolicyStore.`create(AbstractPolicyRepresentation representation, ResourceServer resourceServer)`
    `Scope` | JPAScopeStore.`create(String name, ResourceServer resourceServer)`
    `Scope` | JPAScopeStore.`create(String id, String name, ResourceServer resourceServer)`
    `Resource` | JPAResourceStore.`create(String id, String name, ResourceServer resourceServer, String owner)`
    `PermissionTicket` | JPAPermissionTicketStore.`create(String resourceId, String scopeId, String requester, ResourceServer resourceServer)`
    `static ResourceServerEntity` | ResourceServerAdapter.`toEntity(javax.persistence.EntityManager em, ResourceServer resource)`

  - ### Uses of ResourceServer in org.keycloak.authorization.model

    Fields in org.keycloak.authorization.model with type parameters of type ResourceServer
    Modifier and Type | Field and Description
    --- | ---
    `static SearchableModelField<ResourceServer>` | ResourceServer.SearchableFields.`ID`

    Methods in org.keycloak.authorization.model that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `ResourceServer` | Scope.`getResourceServer()` Returns the `ResourceServer` instance to where this scope belongs to.
    `ResourceServer` | Policy.`getResourceServer()` Returns the `ResourceServer` where this policy belongs to.
    `ResourceServer` | PermissionTicket.`getResourceServer()` Returns the `ResourceServer` where this policy belongs to.

  - ### Uses of ResourceServer in org.keycloak.authorization.permission

    Methods in org.keycloak.authorization.permission that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `ResourceServer` | ResourcePermission.`getResourceServer()` Returns the resource server associated with this permission.

    Methods in org.keycloak.authorization.permission with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `static void` | Permissions.`all(ResourceServer resourceServer, Identity identity, AuthorizationProvider authorization, AuthorizationRequest request, Consumer<ResourcePermission> evaluator)` Returns a list of permissions for all resources and scopes that belong to the given `resourceServer` and `identity`.
    `static ResourcePermission` | Permissions.`createResourcePermissions(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request)`
    `static ResourcePermission` | Permissions.`permission(ResourceServer server, Resource resource, Scope scope)`
    `static Set<Scope>` | Permissions.`resolveScopes(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization)`

    Constructors in org.keycloak.authorization.permission with parameters of type ResourceServer
    Constructor and Description
    `ResourcePermission(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer)`
    `ResourcePermission(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer, Map<String,? extends Collection<String>> claims)`
    `ResourcePermission(Resource resource, ResourceServer resourceServer, Map<String,? extends Collection<String>> claims)`

  - ### Uses of ResourceServer in org.keycloak.authorization.permission.evaluator

    Methods in org.keycloak.authorization.permission.evaluator with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `Collection<Permission>` | UnboundedPermissionEvaluator.`evaluate(ResourceServer resourceServer, AuthorizationRequest request)`
    `Collection<Permission>` | PermissionEvaluator.`evaluate(ResourceServer resourceServer, AuthorizationRequest request)`
    `PermissionEvaluator` | Evaluators.`from(EvaluationContext evaluationContext, ResourceServer resourceServer, AuthorizationRequest request)`

  - ### Uses of ResourceServer in org.keycloak.authorization.policy.evaluation

    Methods in org.keycloak.authorization.policy.evaluation with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | DecisionPermissionCollector.`grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result)`

    Constructors in org.keycloak.authorization.policy.evaluation with parameters of type ResourceServer
    Constructor and Description
    `DecisionPermissionCollector(AuthorizationProvider authorizationProvider, ResourceServer resourceServer, AuthorizationRequest request)`
    `PermissionTicketAwareDecisionResultCollector(AuthorizationRequest request, PermissionTicketToken ticket, Identity identity, ResourceServer resourceServer, AuthorizationProvider authorization)`

  - ### Uses of ResourceServer in org.keycloak.authorization.policy.provider

    Methods in org.keycloak.authorization.policy.provider with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `default PolicyProviderAdminService` | PolicyProviderFactory.`getAdminResource(ResourceServer resourceServer, AuthorizationProvider authorization)`

  - ### Uses of ResourceServer in org.keycloak.authorization.protection.permission

    Constructors in org.keycloak.authorization.protection.permission with parameters of type ResourceServer
    Constructor and Description
    `AbstractPermissionService(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization)`
    `PermissionService(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization)`
    `PermissionTicketService(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization)`

  - ### Uses of ResourceServer in org.keycloak.authorization.protection.policy

    Constructors in org.keycloak.authorization.protection.policy with parameters of type ResourceServer
    Constructor and Description
    `UserManagedPermissionService(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization, AdminEventBuilder eventBuilder)`

  - ### Uses of ResourceServer in org.keycloak.authorization.protection.resource

    Constructors in org.keycloak.authorization.protection.resource with parameters of type ResourceServer
    Constructor and Description
    `ResourceService(KeycloakSession session, ResourceServer resourceServer, Identity identity, ResourceSetService resourceManager)`

  - ### Uses of ResourceServer in org.keycloak.authorization.store

    Methods in org.keycloak.authorization.store that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `ResourceServer` | ResourceServerStore.`create(String clientId)` Creates a `ResourceServer` instance backed by this persistent storage implementation.
    `ResourceServer` | ResourceServerStore.`findById(String id)` Returns a `ResourceServer` instance based on its identifier.

    Methods in org.keycloak.authorization.store with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `Policy` | PolicyStore.`create(AbstractPolicyRepresentation representation, ResourceServer resourceServer)` Creates a new `Policy` instance.
    `default Scope` | ScopeStore.`create(String name, ResourceServer resourceServer)` Creates a new `Scope` instance.
    `default Resource` | ResourceStore.`create(String name, ResourceServer resourceServer, String owner)` Creates a `Resource` instance backed by this persistent storage implementation.
    `Scope` | ScopeStore.`create(String id, String name, ResourceServer resourceServer)` Creates a new `Scope` instance.
    `Resource` | ResourceStore.`create(String id, String name, ResourceServer resourceServer, String owner)` Creates a `Resource` instance backed by this persistent storage implementation.
    `PermissionTicket` | PermissionTicketStore.`create(String resourceId, String scopeId, String requester, ResourceServer resourceServer)` Creates a new `PermissionTicket` instance.

  - ### Uses of ResourceServer in org.keycloak.models.cache.infinispan.authorization

    Fields in org.keycloak.models.cache.infinispan.authorization declared as ResourceServer
    Modifier and Type | Field and Description
    --- | ---
    `protected ResourceServer` | ResourceServerAdapter.`updated`

    Methods in org.keycloak.models.cache.infinispan.authorization that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `ResourceServer` | StoreFactoryCacheSession.ResourceServerCache.`create(String clientId)`
    `ResourceServer` | StoreFactoryCacheSession.ResourceServerCache.`findById(String id)`
    `ResourceServer` | ResourceServerAdapter.`getDelegateForUpdate()`
    `ResourceServer` | ScopeAdapter.`getResourceServer()`
    `ResourceServer` | PolicyAdapter.`getResourceServer()`
    `ResourceServer` | PermissionTicketAdapter.`getResourceServer()`

    Methods in org.keycloak.models.cache.infinispan.authorization with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `Policy` | StoreFactoryCacheSession.PolicyCache.`create(AbstractPolicyRepresentation representation, ResourceServer resourceServer)`
    `Scope` | StoreFactoryCacheSession.ScopeCache.`create(String name, ResourceServer resourceServer)`
    `Scope` | StoreFactoryCacheSession.ScopeCache.`create(String id, String name, ResourceServer resourceServer)`
    `Resource` | StoreFactoryCacheSession.ResourceCache.`create(String id, String name, ResourceServer resourceServer, String owner)`
    `PermissionTicket` | StoreFactoryCacheSession.PermissionTicketCache.`create(String resourceId, String scopeId, String requester, ResourceServer resourceServer)`

  - ### Uses of ResourceServer in org.keycloak.models.cache.infinispan.authorization.entities

    Constructors in org.keycloak.models.cache.infinispan.authorization.entities with parameters of type ResourceServer
    Constructor and Description
    `CachedResourceServer(Long revision, ResourceServer resourceServer)`

  - ### Uses of ResourceServer in org.keycloak.models.map.authorization

    Methods in org.keycloak.models.map.authorization that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `ResourceServer` | MapResourceServerStore.`create(String clientId)`
    `ResourceServer` | MapResourceServerStore.`findById(String id)`

    Methods in org.keycloak.models.map.authorization with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `Policy` | MapPolicyStore.`create(AbstractPolicyRepresentation representation, ResourceServer resourceServer)`
    `Scope` | MapScopeStore.`create(String id, String name, ResourceServer resourceServer)`
    `Resource` | MapResourceStore.`create(String id, String name, ResourceServer resourceServer, String owner)`
    `PermissionTicket` | MapPermissionTicketStore.`create(String resourceId, String scopeId, String requester, ResourceServer resourceServer)`

    Constructor parameters in org.keycloak.models.map.authorization with type arguments of type ResourceServer
    Constructor and Description
    `MapResourceServerStore(KeycloakSession session, MapStorage<K,MapResourceServerEntity<K>,ResourceServer> resourceServerStore, AuthorizationProvider provider)`

  - ### Uses of ResourceServer in org.keycloak.models.map.authorization.adapter

    Classes in org.keycloak.models.map.authorization.adapter that implement ResourceServer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractResourceServerModel<E extends AbstractEntity>`
    `class` | `MapResourceServerAdapter<K>`

    Methods in org.keycloak.models.map.authorization.adapter that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `ResourceServer` | MapScopeAdapter.`getResourceServer()`
    `ResourceServer` | MapPolicyAdapter.`getResourceServer()`
    `ResourceServer` | MapPermissionTicketAdapter.`getResourceServer()`

  - ### Uses of ResourceServer in org.keycloak.models.map.storage

    Fields in org.keycloak.models.map.storage with type parameters of type ResourceServer
    Modifier and Type | Field and Description
    --- | ---
    `static Map<SearchableModelField<ResourceServer>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapResourceServerEntity<Object>,ResourceServer>>` | MapFieldPredicates.`AUTHZ_RESOURCE_SERVER_PREDICATES`
    `static Map<SearchableModelField<ResourceServer>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapResourceServerEntity<Object>,ResourceServer>>` | MapFieldPredicates.`AUTHZ_RESOURCE_SERVER_PREDICATES`

  - ### Uses of ResourceServer in org.keycloak.models.utils

    Methods in org.keycloak.models.utils that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `static ResourceServer` | RepresentationToModel.`createResourceServer(ClientModel client, KeycloakSession session, boolean addDefaultRoles)`
    `static ResourceServer` | RepresentationToModel.`toModel(ResourceServerRepresentation rep, AuthorizationProvider authorization)`

    Methods in org.keycloak.models.utils with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `static Resource` | RepresentationToModel.`toModel(ResourceRepresentation resource, ResourceServer resourceServer, AuthorizationProvider authorization)`
    `static Scope` | RepresentationToModel.`toModel(ScopeRepresentation scope, ResourceServer resourceServer, AuthorizationProvider authorization)`
    `static Scope` | RepresentationToModel.`toModel(ScopeRepresentation scope, ResourceServer resourceServer, AuthorizationProvider authorization, boolean updateIfExists)`
    `static ResourceServerRepresentation` | ModelToRepresentation.`toRepresentation(ResourceServer model, ClientModel client)`

  - ### Uses of ResourceServer in org.keycloak.services.resources.admin.permissions

    Methods in org.keycloak.services.resources.admin.permissions that return ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `ResourceServer` | AdminPermissionManagement.`realmResourceServer()`
    `ResourceServer` | ClientPermissionManagement.`resourceServer(ClientModel client)`
    `ResourceServer` | RolePermissionManagement.`resourceServer(RoleModel role)`

    Methods in org.keycloak.services.resources.admin.permissions with parameters of type ResourceServer
    Modifier and Type | Method and Description
    --- | ---
    `Policy` | RolePermissionManagement.`manageUsersPolicy(ResourceServer server)`
    `Policy` | RolePermissionManagement.`rolePolicy(ResourceServer server, RoleModel role)`
    `Policy` | RolePermissionManagement.`viewUsersPolicy(ResourceServer server)`

Copyright © 2021 JBoss by Red Hat. All rights reserved.