@Consumes(value="application/json")
@Produces(value="application/json")
public interface UserResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addFederatedIdentity(String provider,
FederatedIdentityRepresentation rep) |
void |
executeActionsEmail(List<String> actions) |
void |
executeActionsEmail(String clientId,
List<String> actions) |
List<FederatedIdentityRepresentation> |
getFederatedIdentity() |
List<UserSessionRepresentation> |
getUserSessions() |
List<GroupRepresentation> |
groups() |
void |
joinGroup(String groupId) |
void |
leaveGroup(String groupId) |
void |
logout() |
void |
remove() |
void |
removeFederatedIdentity(String provider) |
void |
removeTotp() |
void |
resetPassword(CredentialRepresentation credentialRepresentation) |
void |
resetPasswordEmail()
Deprecated.
|
void |
resetPasswordEmail(String clientId)
Deprecated.
|
RoleMappingResource |
roles() |
void |
sendVerifyEmail() |
void |
sendVerifyEmail(String clientId) |
UserRepresentation |
toRepresentation() |
void |
update(UserRepresentation userRepresentation) |
@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()
@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)
@PUT @Path(value="execute-actions-email") void executeActionsEmail(@QueryParam(value="client_id") String clientId, List<String> 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="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()
Copyright © 2016 JBoss by Red Hat. All rights reserved.