public interface CredentialReset
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentialConfiguration() |
Long |
getEntityId()
Get credential owner entity id
|
String |
getSecurityQuestion() |
String |
getSettings() |
void |
sendCode(String messageTemplateId,
boolean onlyNumberCode)
Sends a random confirmation code to the receiver.
|
void |
setSubject(pl.edu.icm.unity.types.basic.IdentityTaV subject)
Sets the subject for which the operations are made.
|
void |
updateCredential(String newCredential)
Changes the credential to a new one.
|
void |
verifyDynamicData(String emailCode)
Verifies if the dynamic data about the subject is correct.
|
void |
verifyStaticData(String aswer)
Verifies if the static data is about the subject is correct.
|
String getSettings()
void setSubject(pl.edu.icm.unity.types.basic.IdentityTaV subject)
subject - String getSecurityQuestion()
void verifyStaticData(String aswer) throws pl.edu.icm.unity.exceptions.WrongArgumentException, pl.edu.icm.unity.exceptions.IllegalIdentityValueException, pl.edu.icm.unity.exceptions.TooManyAttempts
aswer - pl.edu.icm.unity.exceptions.WrongArgumentExceptionpl.edu.icm.unity.exceptions.IllegalIdentityValueExceptionpl.edu.icm.unity.exceptions.TooManyAttemptsvoid verifyDynamicData(String emailCode) throws pl.edu.icm.unity.exceptions.WrongArgumentException, pl.edu.icm.unity.exceptions.TooManyAttempts
emailCode - pl.edu.icm.unity.exceptions.WrongArgumentExceptionpl.edu.icm.unity.exceptions.TooManyAttemptsvoid sendCode(String messageTemplateId, boolean onlyNumberCode) throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineExceptionString getCredentialConfiguration()
void updateCredential(String newCredential) throws pl.edu.icm.unity.exceptions.EngineException
newCredential - new credential, typically encoded in credential
specific way.pl.edu.icm.unity.exceptions.EngineExceptionLong getEntityId()
Copyright © 2018 Unity. All rights reserved.