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

- Packages that use Resource
  Package | Description
  --- | ---
  org.keycloak.authorization.admin.util |
  org.keycloak.authorization.jpa.entities |
  org.keycloak.authorization.jpa.store |
  org.keycloak.authorization.model | Provides the domain model and any other type related with it
  org.keycloak.authorization.mongo.adapter |
  org.keycloak.authorization.mongo.store |
  org.keycloak.authorization.permission |
  org.keycloak.authorization.store | Provides classes and a SPI to plug different metadata storage implementations.
  org.keycloak.authorization.util |
  org.keycloak.models.authorization.infinispan |
  org.keycloak.models.authorization.infinispan.entities |

- - ### Uses of Resource in org.keycloak.authorization.admin.util

    Methods in org.keycloak.authorization.admin.util that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `static Resource` | Models.`toModel(ResourceRepresentation resource, ResourceServer resourceServer, AuthorizationProvider authorization)`

    Methods in org.keycloak.authorization.admin.util with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `static ResourceRepresentation` | Models.`toRepresentation(Resource model, ResourceServer resourceServer, AuthorizationProvider authorization)`

  - ### Uses of Resource in org.keycloak.authorization.jpa.entities

    Classes in org.keycloak.authorization.jpa.entities that implement Resource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ResourceEntity`

    Methods in org.keycloak.authorization.jpa.entities with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `void` | PolicyEntity.`addResource(Resource resource)`
    `void` | PolicyEntity.`removeResource(Resource resource)`

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

    Methods in org.keycloak.authorization.jpa.store that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | JPAResourceStore.`create(String name, ResourceServer resourceServer, String owner)`
    `Resource` | JPAResourceStore.`findById(String id)`
    `Resource` | JPAResourceStore.`findByName(String name, String resourceServerId)`

    Methods in org.keycloak.authorization.jpa.store that return types with arguments of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `List<Resource>` | JPAResourceStore.`findByOwner(String ownerId)`
    `List<Resource>` | JPAResourceStore.`findByScope(String... id)`
    `List<Resource>` | JPAResourceStore.`findByType(String type)`

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

    Methods in org.keycloak.authorization.model with type parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `<R extends Resource> Set<R>` | Policy.`getResources()` Returns the `Resource` instances where this policy applies.

    Methods in org.keycloak.authorization.model with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `void` | Policy.`addResource(Resource resource)`
    `void` | Policy.`removeResource(Resource resource)`

  - ### Uses of Resource in org.keycloak.authorization.mongo.adapter

    Classes in org.keycloak.authorization.mongo.adapter that implement Resource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ResourceAdapter`

    Methods in org.keycloak.authorization.mongo.adapter that return types with arguments of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `Set<Resource>` | PolicyAdapter.`getResources()`

    Methods in org.keycloak.authorization.mongo.adapter with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `void` | PolicyAdapter.`addResource(Resource resource)`
    `void` | PolicyAdapter.`removeResource(Resource resource)`

  - ### Uses of Resource in org.keycloak.authorization.mongo.store

    Methods in org.keycloak.authorization.mongo.store that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | MongoResourceStore.`create(String name, ResourceServer resourceServer, String owner)`
    `Resource` | MongoResourceStore.`findById(String id)`
    `Resource` | MongoResourceStore.`findByName(String name, String resourceServerId)`

    Methods in org.keycloak.authorization.mongo.store that return types with arguments of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `List<Resource>` | MongoResourceStore.`findByOwner(String ownerId)`
    `List<Resource>` | MongoResourceStore.`findByScope(String... id)`
    `List<Resource>` | MongoResourceStore.`findByType(String type)`

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

    Methods in org.keycloak.authorization.permission that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ResourcePermission.`getResource()` Returns the resource to which this permission applies.

    Constructors in org.keycloak.authorization.permission with parameters of type Resource
    Constructor and Description
    `ResourcePermission(Resource resource, List<Scope> scopes, ResourceServer resourceServer)`

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

    Methods in org.keycloak.authorization.store that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ResourceStore.`create(String name, ResourceServer resourceServer, String owner)` Creates a `Resource` instance backed by this persistent storage implementation.
    `Resource` | ResourceStore.`findById(String id)` Returns a `Resource` instance based on its identifier.
    `Resource` | ResourceStore.`findByName(String name, String resourceServerId)` Find a `Resource` by its name.

    Methods in org.keycloak.authorization.store that return types with arguments of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `List<Resource>` | ResourceStore.`findByOwner(String ownerId)` Finds all `Resource` instances with the given `ownerId`.
    `List<Resource>` | ResourceStore.`findByResourceServer(String resourceServerId)` Finds all `Resource` instances associated with a given resource server.
    `List<Resource>` | ResourceStore.`findByScope(String... id)` Finds all `Resource` associated with a given scope.
    `List<Resource>` | ResourceStore.`findByType(String type)` Finds all `Resource` with the given type.

  - ### Uses of Resource in org.keycloak.authorization.util

    Methods in org.keycloak.authorization.util with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `static List<ResourcePermission>` | Permissions.`createResourcePermissions(Resource resource, Set<String> requestedScopes, AuthorizationProvider authorization)`

  - ### Uses of Resource in org.keycloak.models.authorization.infinispan

    Methods in org.keycloak.models.authorization.infinispan that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | CachedResourceStore.`create(String name, ResourceServer resourceServer, String owner)`
    `Resource` | CachedResourceStore.`findById(String id)`
    `Resource` | CachedResourceStore.`findByName(String name, String resourceServerId)`

    Methods in org.keycloak.models.authorization.infinispan that return types with arguments of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `List<Resource>` | CachedResourceStore.`findByOwner(String ownerId)`
    `List<Resource>` | CachedResourceStore.`findByResourceServer(String resourceServerId)`
    `List<Resource>` | CachedResourceStore.`findByScope(String... id)`
    `List<Resource>` | CachedResourceStore.`findByType(String type)`

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

    Classes in org.keycloak.models.authorization.infinispan.entities that implement Resource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CachedResource`

    Methods in org.keycloak.models.authorization.infinispan.entities that return types with arguments of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `Set<Resource>` | CachedPolicy.`getResources()`

    Methods in org.keycloak.models.authorization.infinispan.entities with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `void` | CachedPolicy.`addResource(Resource resource)`
    `void` | CachedPolicy.`removeResource(Resource resource)`

    Constructors in org.keycloak.models.authorization.infinispan.entities with parameters of type Resource
    Constructor and Description
    `CachedResource(Resource resource)`

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