@Consumes(value="application/json")
@Produces(value="application/json")
public interface UserResource
@GET UserRepresentation toRepresentation()
@PUT void update(UserRepresentation userRepresentation)
@DELETE void remove()
@Path(value="groups") @GET List<GroupRepresentation> groups()
@Path(value="groups/{groupId}")
@PUT
void joinGroup(@PathParam(value="groupId")
String groupId)
@Path(value="groups/{groupId}")
@DELETE
void leaveGroup(@PathParam(value="groupId")
String groupId)
@POST @Path(value="logout") void logout()
@PUT @Path(value="remove-totp") void removeTotp()
@Path(value="disable-credential-types") @PUT @Consumes(value="application/json") void disableCredentialType(List<String> credentialTypes)
credentialTypes - @PUT @Path(value="reset-password") void resetPassword(CredentialRepresentation credentialRepresentation)
@PUT @Path(value="reset-password-email") @Deprecated void resetPasswordEmail()
@PUT @Path(value="reset-password-email") @Deprecated void resetPasswordEmail(@QueryParam(value="client_id") String clientId)
@PUT @Path(value="execute-actions-email") void executeActionsEmail(List<String> actions)
actions - @PUT
@Path(value="execute-actions-email")
void executeActionsEmail(@QueryParam(value="client_id")
String clientId,
@QueryParam(value="redirect_uri")
String redirectUri,
List<String> actions)
clientId - redirectUri - actions - @PUT @Path(value="send-verify-email") void sendVerifyEmail()
@PUT
@Path(value="send-verify-email")
void sendVerifyEmail(@QueryParam(value="client_id")
String clientId)
@GET @Path(value="sessions") List<UserSessionRepresentation> getUserSessions()
@GET
@Path(value="offline-sessions/{clientId}")
List<UserSessionRepresentation> getOfflineSessions(@PathParam(value="clientId")
String clientId)
@GET @Path(value="federated-identity") List<FederatedIdentityRepresentation> getFederatedIdentity()
@POST
@Path(value="federated-identity/{provider}")
javax.ws.rs.core.Response addFederatedIdentity(@PathParam(value="provider")
String provider,
FederatedIdentityRepresentation rep)
@Path(value="federated-identity/{provider}")
@DELETE
void removeFederatedIdentity(@PathParam(value="provider")
String provider)
@Path(value="role-mappings") RoleMappingResource roles()
@DELETE
@Path(value="consents/{client}")
void revokeConsent(@PathParam(value="client")
String clientId)
Copyright © 2017 JBoss by Red Hat. All rights reserved.