Interface PasswordChangeHandler

All Superinterfaces:
CancelableHandler

public interface PasswordChangeHandler extends CancelableHandler
The object handling the old and new password provided by the end-user.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method must be invoked if the operation must be canceled.
    void
    passwords(char[] oldPassword, char[] newPassword)
    Specify the old password and the new password.
  • Method Details

    • cancel

      void cancel()
      This method must be invoked if the operation must be canceled.
      Specified by:
      cancel in interface CancelableHandler
      Throws:
      IllegalStateException - if either this method or passwords(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 password
      newPassword - the new password
      Throws:
      IllegalStateException - if either cancel() or this method were previously invoked