@Consumes(value="application/json")
@Produces(value="application/json")
public interface UserResource
Modifier and Type | Method and Description |
---|---|
List<SocialLinkRepresentation> |
getSocialLinks() |
List<UserSessionRepresentation> |
getUserSessions() |
Map<String,UserStats> |
getUserStats() |
void |
logout() |
void |
remove() |
void |
removeTotp() |
void |
resetPassword(CredentialRepresentation credentialRepresentation) |
void |
resetPasswordEmail() |
RoleMappingResource |
roles() |
UserRepresentation |
toRepresentation() |
void |
update(UserRepresentation userRepresentation) |
@GET UserRepresentation toRepresentation()
@PUT void update(UserRepresentation userRepresentation)
@DELETE void remove()
@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") void resetPasswordEmail()
@GET @Path(value="sessions") List<UserSessionRepresentation> getUserSessions()
@GET @Path(value="social-links") List<SocialLinkRepresentation> getSocialLinks()
@Path(value="role-mappings") RoleMappingResource roles()
Copyright © 2014. All Rights Reserved.