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

- Packages that use ResourcePermission
  Package | Description
  --- | ---
  org.keycloak.authorization | Fine-grained Authorization SPI.
  org.keycloak.authorization.admin |
  org.keycloak.authorization.permission |
  org.keycloak.authorization.permission.evaluator |
  org.keycloak.authorization.policy.evaluation | Provides classes related with the evaluation of policies.

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

    Methods in org.keycloak.authorization with parameters of type ResourcePermission
    Modifier and Type | Method and Description
    --- | ---
    `default void` | Decision.`onComplete(ResourcePermission permission)`

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

    Methods in org.keycloak.authorization.admin with parameters of type ResourcePermission
    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)`

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

    Methods in org.keycloak.authorization.permission that return ResourcePermission
    Modifier and Type | Method and Description
    --- | ---
    `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)`

    Method parameters in org.keycloak.authorization.permission with type arguments of type ResourcePermission
    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`.

  - ### 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(Collection<ResourcePermission> permissions, EvaluationContext evaluationContext)`

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

    Fields in org.keycloak.authorization.policy.evaluation with type parameters of type ResourcePermission
    Modifier and Type | Field and Description
    --- | ---
    `protected Map<ResourcePermission,Result>` | AbstractDecisionCollector.`results`

    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()`

    Methods in org.keycloak.authorization.policy.evaluation with parameters of type ResourcePermission
    Modifier and Type | Method and Description
    --- | ---
    `void` | PolicyEvaluator.`evaluate(ResourcePermission permission, AuthorizationProvider authorizationProvider, EvaluationContext executionContext, Decision decision, Map<Policy,Map<Object,Decision.Effect>> decisionCache)` Starts the evaluation of the configured authorization policies.
    `void` | DefaultPolicyEvaluator.`evaluate(ResourcePermission permission, AuthorizationProvider authorizationProvider, EvaluationContext executionContext, Decision decision, Map<Policy,Map<Object,Decision.Effect>> decisionCache)`
    `protected void` | DecisionPermissionCollector.`grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result)`
    `void` | AbstractDecisionCollector.`onComplete(ResourcePermission permission)`

    Constructors in org.keycloak.authorization.policy.evaluation with parameters of type ResourcePermission
    Constructor and Description
    `DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Decision decision, AuthorizationProvider authorizationProvider)`
    `DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Policy parentPolicy, Decision decision, AuthorizationProvider authorizationProvider, Map<Policy,Map<Object,Decision.Effect>> decisionCache)`
    `DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Policy parentPolicy, Policy policy, Decision decision, AuthorizationProvider authorizationProvider, Map<Policy,Map<Object,Decision.Effect>> decisionCache)`
    `Result(ResourcePermission permission, Evaluation evaluation)`

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