Class UserProfileService
java.lang.Object
de.xima.fc.api.rest.pub.impl.user.services.UserProfileService
@Path("/users/profiles")
@Pac4jSecurity(authorizers="isFullyAuthenticated")
public class UserProfileService
extends Object
REST service providing endpoints for user profiles.
- Since:
- 8.2.0
- Author:
- XIMA Media GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsedownloadProfileImage(org.pac4j.core.profile.CommonProfile profile) javax.ws.rs.core.ResponsegetProfile(org.pac4j.core.profile.CommonProfile profile)
-
Constructor Details
-
UserProfileService
public UserProfileService()
-
-
Method Details
-
getProfile
@GET @Path("/me") @Produces({"application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8","application/json; charset=utf-8"}) public javax.ws.rs.core.Response getProfile(@Pac4JProfile org.pac4j.core.profile.CommonProfile profile) -
downloadProfileImage
@GET @Path("/me/profileImage/download") @Produces({"application/vnd.xima.fc.api.rest.public+octet-stream; version=1.0; charset=utf-8","application/octet-stream; charset=utf-8"}) public javax.ws.rs.core.Response downloadProfileImage(@Pac4JProfile org.pac4j.core.profile.CommonProfile profile)
-