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>getGroupRoleMapping(String id)List<KeycloakRoleMapping>getUserRoleMapping(String id)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)
-
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)
-
-