org.keycloak.authorization.policy.provider.user

## Class UserPolicyProvider

- java.lang.Object
- - org.keycloak.authorization.policy.provider.user.UserPolicyProvider

- All Implemented Interfaces:
    PolicyProvider, Provider

      public class UserPolicyProvider
      extends Object
      implements PolicyProvider

  Author:
    Pedro Igor

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserPolicyProvider(BiFunction<Policy,AuthorizationProvider,UserPolicyRepresentation> representationFunction)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `void` | `evaluate(Evaluation evaluation)`

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

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

- - ### Constructor Detail

    - #### UserPolicyProvider

          public UserPolicyProvider(BiFunction<Policy,AuthorizationProvider,UserPolicyRepresentation> representationFunction)

  - ### Method Detail

    - #### evaluate

          public void evaluate(Evaluation evaluation)

      Specified by:
        `evaluate` in interface `PolicyProvider`

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`

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