public interface CredentialReset
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentialConfiguration() |
String |
getSecurityQuestion() |
CredentialResetSettings |
getSettings() |
void |
sendCode()
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.
|
CredentialResetSettings 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()
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.EngineExceptionCopyright © 2017 Unity. All rights reserved.