Interface PasswordChangeHandler
- All Superinterfaces:
CancelableHandler
The object handling the old and new password provided by the end-user.
-
Method Summary
-
Method Details
-
cancel
void cancel()This method must be invoked if the operation must be canceled.- Specified by:
cancel
in interfaceCancelableHandler
- Throws:
IllegalStateException
- if either this method orpasswords(char[], char[])
were previously invoked
-
passwords
void passwords(char[] oldPassword, char[] newPassword) Specify the old password and the new password. To change a password, the SDK requires to provide the old password. When this method is invoked, the SDK will validate the provided passwords.- Parameters:
oldPassword
- the old passwordnewPassword
- the new password- Throws:
IllegalStateException
- if eithercancel()
or this method were previously invoked
-