R - as ResetPasswordResponsepublic interface ResetPassword<R extends ResetPassword.ResetPasswordResponse>
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResetPassword.ResetPasswordResponse
Reset Password is usually an A-Synchronous process, in the way the user is informed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onResetFail(String userNameId,
Exception e)
Due to some reason the requested action to reset password for user with ud = userNameId failed.
|
void |
onResetSuccess(String userNameId,
R passwordResetResponse)
For a valid userNameId the password was successfully reset, allow other action to be taken on success status
|
R |
resetPassword(String userNameId)
Reset the password for the User with userNameId and product a Response of type R.
Callbacks onResetSuccess(java.lang.String, R) and onResetFail(java.lang.String, java.lang.Exception) |
R resetPassword(String userNameId) throws Exception
onResetSuccess(java.lang.String, R) and onResetFail(java.lang.String, java.lang.Exception)userNameId - Exceptionvoid onResetSuccess(String userNameId, R passwordResetResponse)
userNameId - as StringnewPassword - as StringCopyright © 2018. All rights reserved.