Package io.phasetwo.service.resource
Class MembersResource
java.lang.Object
io.phasetwo.service.resource.AbstractAdminResource<OrganizationAdminAuth>
io.phasetwo.service.resource.OrganizationAdminResource
io.phasetwo.service.resource.MembersResource
-
Field Summary
Fields inherited from class io.phasetwo.service.resource.OrganizationAdminResource
em, orgs
Fields inherited from class io.phasetwo.service.resource.AbstractAdminResource
adminEvent, adminRealm, auth, connection, headers, permissions, realm, session, user
-
Constructor Summary
ConstructorDescriptionMembersResource
(OrganizationAdminResource parent, OrganizationModel organization) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
Stream
<org.keycloak.representations.idm.UserRepresentation> getMembers
(String searchQuery, Integer firstResult, Integer maxResults) jakarta.ws.rs.core.Response
removeMember
(String userId) Methods inherited from class io.phasetwo.service.resource.OrganizationAdminResource
getServerUrl, init
Methods inherited from class io.phasetwo.service.resource.AbstractAdminResource
setup
-
Constructor Details
-
MembersResource
-
-
Method Details
-
getMembers
-
getMembersCount
-
removeMember
@DELETE @Path("{userId}") public jakarta.ws.rs.core.Response removeMember(@PathParam("userId") String userId) -
getMember
@GET @Path("{userId}") public jakarta.ws.rs.core.Response getMember(@PathParam("userId") String userId) -
addMember
@PUT @Path("{userId}") @Produces("application/json") public jakarta.ws.rs.core.Response addMember(@PathParam("userId") String userId)
-