## Uses of Class
org.keycloak.authorization.permission.ResourcePermission

- Packages that use ResourcePermission
  Package | Description
  --- | ---
  org.keycloak.authorization.permission.evaluator |
  org.keycloak.authorization.policy.evaluation | Provides classes related with the evaluation of policies.
  org.keycloak.authorization.util |

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

    Method parameters in org.keycloak.authorization.permission.evaluator with type arguments of type ResourcePermission
    Modifier and Type | Method and Description
    --- | ---
    `PermissionEvaluator` | Evaluators.`from(List<ResourcePermission> permissions, EvaluationContext evaluationContext)`
    `PermissionEvaluator` | Evaluators.`schedule(List<ResourcePermission> permissions, EvaluationContext evaluationContext)`

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

    Methods in org.keycloak.authorization.policy.evaluation that return ResourcePermission
    Modifier and Type | Method and Description
    --- | ---
    `ResourcePermission` | Result.`getPermission()`
    `ResourcePermission` | Evaluation.`getPermission()` Returns the `ResourcePermission` to be evaluated.
    `ResourcePermission` | DefaultEvaluation.`getPermission()` Returns the `ResourcePermission` to be evaluated.

    Methods in org.keycloak.authorization.policy.evaluation with parameters of type ResourcePermission
    Modifier and Type | Method and Description
    --- | ---
    `void` | PolicyEvaluator.`evaluate(ResourcePermission permission, EvaluationContext executionContext, Decision decision)` Starts the evaluation of the configured authorization policies.
    `void` | DefaultPolicyEvaluator.`evaluate(ResourcePermission permission, EvaluationContext executionContext, Decision decision)`

    Constructors in org.keycloak.authorization.policy.evaluation with parameters of type ResourcePermission
    Constructor and Description
    `DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Policy parentPolicy, Policy policy, Decision decision)`
    `Result(ResourcePermission permission)`

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

    Methods in org.keycloak.authorization.util that return types with arguments of type ResourcePermission
    Modifier and Type | Method and Description
    --- | ---
    `static List<ResourcePermission>` | Permissions.`all(ResourceServer resourceServer, Identity identity, AuthorizationProvider authorization)` Returns a list of permissions for all resources and scopes that belong to the given `resourceServer` and `identity`.
    `static List<ResourcePermission>` | Permissions.`createResourcePermissions(Resource resource, Set<String> requestedScopes, AuthorizationProvider authorization)`

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