public class IdentityServiceImplV1Alpha3 extends Object implements IdentityService<RestIdentity>
| Constructor and Description |
|---|
IdentityServiceImplV1Alpha3() |
| Modifier and Type | Method and Description |
|---|---|
RestIdentity |
create(RestIdentity newInstance)
Creates a new instance.
|
RestIdentity |
delete(RestIdentity existingInstance)
Deletes an existing instance.
|
RestIdentity |
get(String uuid)
Gets an existing instance by its uuid.
|
RestIdentity |
getIdentity(String identityProvider,
String remoteId)
Gets an identity by its identity provider and remote id.
|
String |
getIdentityId(String provider,
String remoteId)
Gets the identity id from a remote id.
|
RestIdentity |
update(RestIdentity existingInstance)
Updates an existing instance.
|
public RestIdentity getIdentity(String identityProvider, String remoteId) throws SocialClientLibException
IdentityServicegetIdentity in interface IdentityService<RestIdentity>identityProvider - the identity providerremoteId - the remote idSocialClientLibExceptionpublic String getIdentityId(String provider, String remoteId) throws SocialClientLibException
IdentityServicegetIdentityId in interface IdentityService<RestIdentity>remoteId - the remote idSocialClientLibExceptionpublic RestIdentity create(RestIdentity newInstance) throws SocialClientLibException
Servicecreate in interface Service<RestIdentity>newInstance - new instanceSocialClientLibExceptionpublic RestIdentity get(String uuid) throws SocialClientLibException
Serviceget in interface Service<RestIdentity>uuid - the uuidSocialClientLibExceptionpublic RestIdentity update(RestIdentity existingInstance) throws SocialClientLibException
Serviceupdate in interface Service<RestIdentity>SocialClientLibExceptionpublic RestIdentity delete(RestIdentity existingInstance) throws SocialClientLibException
Servicedelete in interface Service<RestIdentity>SocialClientLibExceptionCopyright © 2011–2016 eXo Platform SAS. All rights reserved.