org.keycloak.authorization.permission.evaluator

## Class Evaluators

- java.lang.Object
- - org.keycloak.authorization.permission.evaluator.Evaluators

-     public final class Evaluators
      extends Object

  A factory for the different `PermissionEvaluator` implementations.
  Author:
    Pedro Igor

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Evaluators(AuthorizationProvider authorizationProvider)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `PermissionEvaluator` | `from(Collection<ResourcePermission> permissions, EvaluationContext evaluationContext)`
    `PermissionEvaluator` | `from(EvaluationContext evaluationContext, ResourceServer resourceServer, AuthorizationRequest request)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Evaluators

          public Evaluators(AuthorizationProvider authorizationProvider)

  - ### Method Detail

    - #### from

          public PermissionEvaluator from(Collection<ResourcePermission> permissions,
                                          EvaluationContext evaluationContext)

    - #### from

          public PermissionEvaluator from(EvaluationContext evaluationContext,
                                          ResourceServer resourceServer,
                                          AuthorizationRequest request)

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