public class RESTAuthService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
RESTAuthService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
auth() |
javax.ws.rs.core.Response |
auth(String profileId) |
javax.ws.rs.core.Response |
getAvatarURL(String userId,
javax.ws.rs.core.UriInfo uri) |
javax.ws.rs.core.Response |
getSpaceAvartar(String spaceName,
javax.ws.rs.core.UriInfo uri) |
javax.ws.rs.core.Response |
hasOneOneCallPermission(String userId) |
javax.ws.rs.core.Response |
sendMessage(String callee,
String messageType,
String callMode) |
javax.ws.rs.core.Response |
verifyPermission(String permissionId) |
@RolesAllowed(value="users") public javax.ws.rs.core.Response auth()
@RolesAllowed(value="users") public javax.ws.rs.core.Response verifyPermission(String permissionId) throws Exception
Exception@RolesAllowed(value="users") public javax.ws.rs.core.Response auth(String profileId)
@RolesAllowed(value="users") public javax.ws.rs.core.Response hasOneOneCallPermission(String userId) throws Exception
Exception@RolesAllowed(value="users") public javax.ws.rs.core.Response sendMessage(String callee, String messageType, String callMode) throws Exception
Exception@RolesAllowed(value="users") public javax.ws.rs.core.Response getAvatarURL(String userId, @Context javax.ws.rs.core.UriInfo uri)
@RolesAllowed(value="users") public javax.ws.rs.core.Response getSpaceAvartar(String spaceName, @Context javax.ws.rs.core.UriInfo uri)
Copyright © 2003–2016 eXo Platform SAS. All rights reserved.