org.keycloak.admin.client.resource

## Interface UserPolicyResource

-     public interface UserPolicyResource

  Author:
    Pedro Igor

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<PolicyRepresentation>` | `associatedPolicies()`
    `List<PolicyRepresentation>` | `dependentPolicies()`
    `void` | `remove()`
    `List<ResourceRepresentation>` | `resources()`
    `UserPolicyRepresentation` | `toRepresentation()`
    `void` | `update(UserPolicyRepresentation representation)`

- - ### Method Detail

    - #### toRepresentation

          @GET
           @Produces(value="application/json")
          UserPolicyRepresentation toRepresentation()

    - #### update

          @PUT
           @Consumes(value="application/json")
          void update(UserPolicyRepresentation representation)

    - #### remove

          @DELETE
          void remove()

    - #### associatedPolicies

          @Path(value="/associatedPolicies")
           @GET
           @Produces(value="application/json")
          List<PolicyRepresentation> associatedPolicies()

    - #### dependentPolicies

          @Path(value="/dependentPolicies")
           @GET
           @Produces(value="application/json")
          List<PolicyRepresentation> dependentPolicies()

    - #### resources

          @Path(value="/resources")
           @GET
           @Produces(value="application/json")
          List<ResourceRepresentation> resources()

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