Interface RoleByIdResource
public interface RoleByIdResource
Sometimes its easier to just interact with roles by their ID instead of container/role-name
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddComposites(String id, List<org.keycloak.representations.idm.RoleRepresentation> roles) voiddeleteComposites(String id, List<org.keycloak.representations.idm.RoleRepresentation> roles) voiddeleteRole(String id) Set<org.keycloak.representations.idm.RoleRepresentation>getClientRoleComposites(String id, String clientUuid) Set<org.keycloak.representations.idm.RoleRepresentation>org.keycloak.representations.idm.RoleRepresentationSet<org.keycloak.representations.idm.RoleRepresentation>Set<org.keycloak.representations.idm.RoleRepresentation>searchRoleComposites(String id, String search, Integer first, Integer max) voidupdateRole(String id, org.keycloak.representations.idm.RoleRepresentation rep)
-
Method Details
-
getRole
@Path("{role-id}") @GET @Produces("application/json") org.keycloak.representations.idm.RoleRepresentation getRole(@PathParam("role-id") String id) -
deleteRole
-
updateRole
@Path("{role-id}") @PUT @Consumes("application/json") void updateRole(@PathParam("role-id") String id, org.keycloak.representations.idm.RoleRepresentation rep) -
addComposites
-
getRoleComposites
-
searchRoleComposites
-
getRealmRoleComposites
-
getClientRoleComposites
-
deleteComposites
-