## Uses of Class
org.keycloak.representations.idm.authorization.PolicyRepresentation

- Packages that use PolicyRepresentation
  Package | Description
  --- | ---
  org.keycloak.admin.client.resource |
  org.keycloak.authorization.policy.provider | Provides classes and a SPI to plug different policy providers.
  org.keycloak.authorization.policy.provider.aggregated |
  org.keycloak.authorization.policy.provider.client |
  org.keycloak.authorization.policy.provider.clientscope |
  org.keycloak.authorization.policy.provider.group |
  org.keycloak.authorization.policy.provider.js |
  org.keycloak.authorization.policy.provider.permission |
  org.keycloak.authorization.policy.provider.role |
  org.keycloak.authorization.policy.provider.time |
  org.keycloak.authorization.policy.provider.user |
  org.keycloak.representations.idm.authorization |

- - ### Uses of PolicyRepresentation in org.keycloak.admin.client.resource

    Methods in org.keycloak.admin.client.resource that return PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `PolicyRepresentation` | PoliciesResource.`findByName(String name)`
    `PolicyRepresentation` | PolicyResource.`toRepresentation()`
    `PolicyRepresentation` | PolicyResource.`toRepresentation(String fields)`

    Methods in org.keycloak.admin.client.resource that return types with arguments of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `List<PolicyRepresentation>` | UserPolicyResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | TimePolicyResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | ScopePermissionResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | RolePolicyResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | ResourcePermissionResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | PolicyResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | JSPolicyResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | GroupPolicyResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | ClientPolicyResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | AggregatePolicyResource.`associatedPolicies()`
    `List<PolicyRepresentation>` | UserPolicyResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | TimePolicyResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | ScopePermissionResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | RolePolicyResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | ResourcePermissionResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | PolicyResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | JSPolicyResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | GroupPolicyResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | ClientPolicyResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | AggregatePolicyResource.`dependentPolicies()`
    `List<PolicyRepresentation>` | ResourceScopeResource.`permissions()`
    `List<PolicyRepresentation>` | ResourceResource.`permissions()`
    `List<PolicyRepresentation>` | PoliciesResource.`policies()`
    `List<PolicyRepresentation>` | PoliciesResource.`policies(String id, String name, String type, String resource, String scope, Boolean permission, String owner, String fields, Integer firstResult, Integer maxResult)`

    Methods in org.keycloak.admin.client.resource with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | PoliciesResource.`create(PolicyRepresentation representation)`
    `void` | PolicyResource.`update(PolicyRepresentation representation)`

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

    Methods in org.keycloak.authorization.policy.provider with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `default void` | PolicyProviderFactory.`onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider)`
    `default void` | PolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.aggregated

    Methods in org.keycloak.authorization.policy.provider.aggregated with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | AggregatePolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.client

    Methods in org.keycloak.authorization.policy.provider.client with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientPolicyProviderFactory.`onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`
    `void` | ClientPolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.clientscope

    Methods in org.keycloak.authorization.policy.provider.clientscope with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientScopePolicyProviderFactory.`onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider)`
    `void` | ClientScopePolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.group

    Methods in org.keycloak.authorization.policy.provider.group with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | GroupPolicyProviderFactory.`onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`
    `void` | GroupPolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.js

    Methods in org.keycloak.authorization.policy.provider.js with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | JSPolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.permission

    Methods in org.keycloak.authorization.policy.provider.permission with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | UMAPolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.role

    Methods in org.keycloak.authorization.policy.provider.role with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | RolePolicyProviderFactory.`onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider)`
    `void` | RolePolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.time

    Methods in org.keycloak.authorization.policy.provider.time with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | TimePolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.user

    Methods in org.keycloak.authorization.policy.provider.user with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserPolicyProviderFactory.`onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider)`
    `void` | UserPolicyProviderFactory.`onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)`

  - ### Uses of PolicyRepresentation in org.keycloak.representations.idm.authorization

    Methods in org.keycloak.representations.idm.authorization that return PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `PolicyRepresentation` | PolicyEvaluationResponse.PolicyResultRepresentation.`getPolicy()`

    Methods in org.keycloak.representations.idm.authorization that return types with arguments of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `List<PolicyRepresentation>` | ScopeRepresentation.`getPolicies()`
    `List<PolicyRepresentation>` | ResourceServerRepresentation.`getPolicies()`

    Methods in org.keycloak.representations.idm.authorization with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | PolicyEvaluationResponse.PolicyResultRepresentation.`setPolicy(PolicyRepresentation policy)`

    Method parameters in org.keycloak.representations.idm.authorization with type arguments of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | ScopeRepresentation.`setPolicies(List<PolicyRepresentation> policies)`
    `void` | ResourceServerRepresentation.`setPolicies(List<PolicyRepresentation> policies)`

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