@Consumes(value="application/json")
@Produces(value="application/json")
public interface UserResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addSocialLink(String provider,
SocialLinkRepresentation rep) |
List<SocialLinkRepresentation> |
getSocialLinks() |
List<UserSessionRepresentation> |
getUserSessions() |
Map<String,UserStats> |
getUserStats() |
void |
logout() |
void |
remove() |
void |
removeSocialLink(String provider) |
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()
@POST @Path(value="social-links/{provider}") javax.ws.rs.core.Response addSocialLink(@PathParam(value="provider") String provider, SocialLinkRepresentation rep)
@Path(value="social-links/{provider}") @DELETE void removeSocialLink(@PathParam(value="provider") String provider)
@Path(value="role-mappings") RoleMappingResource roles()
Copyright © 2014. All Rights Reserved.