public class
IdentityServiceImpl
extends AbstractIdleService
implements IdentityService
implements IdentityService
Access point between the connector developer and Google APIs for syncing identities.
Nested Class Summary
class | IdentityServiceImpl.Builder | Builder for creating an instance of IdentityService |
Public Method Summary
ListenableFuture<Operation> |
createGroup(Group group)
Creates a
Group using Cloud Identity Groups API. |
ListenableFuture<Operation> |
createMembership(String groupId, Membership member)
Creates a
Membership under group identified by groupId using Cloud Identity
Groups API. |
ListenableFuture<Operation> |
deleteGroup(String groupId)
Deletes a
Group using Cloud Identity Groups API. |
ListenableFuture<Operation> |
deleteMembership(String memberId)
Deletes a
Membership using Cloud Identity Groups API. |
ListenableFuture<Group> | |
ListenableFuture<Membership> |
getMembership(String memberId)
Gets a
Membership from Cloud Identity Groups API. |
ListenableFuture<User> |
getUserMapping(String userId)
Gets
User from Google Admin SDK API. |
Iterable<Group> |
listGroups(String groupNamespace)
List all
Group s available under given groupNamespace |
Iterable<Membership> |
listMembers(String groupId)
List all
Membership s under given groupId |
Iterable<User> | |
ListenableFuture<User> |
updateUserMapping(String userId, String schemaName, String attributeName, Optional<String> value)
Updates
User 's custom schema attributes using Google Admin SDK API. |
Inherited Method Summary
Public Methods
public ListenableFuture<Operation> createGroup (Group group)
public ListenableFuture<Operation> createMembership (String groupId, Membership member)
Creates a Membership
under group identified by groupId
using Cloud Identity
Groups API.
Parameters
groupId | |
---|---|
member |
Throws
IOException |
---|
public ListenableFuture<Operation> deleteGroup (String groupId)
public ListenableFuture<Operation> deleteMembership (String memberId)
public ListenableFuture<Group> getGroup (String groupId)
public ListenableFuture<Membership> getMembership (String memberId)
public ListenableFuture<User> getUserMapping (String userId)
public Iterable<Group> listGroups (String groupNamespace)
public Iterable<Membership> listMembers (String groupId)
public Iterable<User> listUsers (String schemaName)
public ListenableFuture<User> updateUserMapping (String userId, String schemaName, String attributeName, Optional<String> value)
Updates User
's custom schema attributes using Google Admin SDK API.
Parameters
userId | |
---|---|
schemaName | |
attributeName | |
value |
Throws
IOException |
---|