Interface KeycloakClient
-
@FeignClient(value="keycloak", url="${keycloak.auth-server-url}/admin/realms/${keycloak.realm}/") public interface KeycloakClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<KeycloakRoleMapping>getGroupClientRoleMapping(String id, String client)List<KeycloakRoleMapping>getGroupRoleMapping(String id)List<KeycloakRoleMapping>getUserClientRoleMapping(String id, String client)List<KeycloakGroup>getUserGroups(String userId)List<KeycloakRoleMapping>getUserRoleMapping(String id)List<KeycloakClientRepresentation>searchClients(String clientId, Integer first, Integer max)List<KeycloakGroup>searchGroups(String search, Integer first, Integer max)List<KeycloakUser>searchUsers(String search, Integer first, Integer max)
-
-
-
Method Detail
-
searchUsers
@RequestMapping(method=GET, value="/users") List<KeycloakUser> searchUsers(@RequestParam("search") String search, @RequestParam("first") Integer first, @RequestParam("max") Integer max)
-
getUserRoleMapping
@RequestMapping(method=GET, value="/users/{id}/role-mappings/realm/composite") List<KeycloakRoleMapping> getUserRoleMapping(@PathVariable("id") String id)
-
getUserGroups
@RequestMapping(method=GET, value="/users/{id}/groups") List<KeycloakGroup> getUserGroups(@PathVariable("id") String userId)
-
searchGroups
@RequestMapping(method=GET, value="/groups") List<KeycloakGroup> searchGroups(@RequestParam("search") String search, @RequestParam("first") Integer first, @RequestParam("max") Integer max)
-
getGroupRoleMapping
@RequestMapping(method=GET, value="/groups/{id}/role-mappings/realm/composite") List<KeycloakRoleMapping> getGroupRoleMapping(@PathVariable("id") String id)
-
searchClients
@RequestMapping(method=GET, value="/clients") List<KeycloakClientRepresentation> searchClients(@RequestParam(value="clientId",required=false) String clientId, @RequestParam("first") Integer first, @RequestParam("max") Integer max)
-
getUserClientRoleMapping
@RequestMapping(method=GET, value="/users/{id}/role-mappings/clients/{client}/composite") List<KeycloakRoleMapping> getUserClientRoleMapping(@PathVariable("id") String id, @PathVariable("client") String client)
-
getGroupClientRoleMapping
@RequestMapping(method=GET, value="/groups/{id}/role-mappings/clients/{client}/composite") List<KeycloakRoleMapping> getGroupClientRoleMapping(@PathVariable("id") String id, @PathVariable("client") String client)
-
-