public interface AuthIdentityManager<T extends AuthIdentity> extends AuthIdentityReader<T>
| Modifier and Type | Method and Description |
|---|---|
String |
createIdentity(String authenticationId,
AuthIdentityModification<T> modification)
Creates an identity.
|
void |
deleteIdentity(String id)
Deletes an identity.
|
void |
migrateIdentity(String id,
String newAuthenticationId)
Migrates an identity to a new authentication ID.
|
void |
updateIdentity(String id,
AuthIdentityModification<T> modification)
Updates an identity.
|
getIdentity, getIdentityByAuthenticationIdString createIdentity(String authenticationId, AuthIdentityModification<T> modification) throws IdentityExistsException
IdentityExistsException - if either the provided ID or authentication ID are already in use.void updateIdentity(String id, AuthIdentityModification<T> modification) throws IdentityNotFoundException
IdentityNotFoundExceptionvoid migrateIdentity(String id, String newAuthenticationId) throws IdentityNotFoundException, IdentityExistsException
IdentityNotFoundException - if no identity matching the ID existsIdentityExistsException - if another identity matching the authentication ID existsvoid deleteIdentity(String id)
Copyright © 2017. All Rights Reserved.