passwords abstract method

Future<void> passwords(
  1. String oldPassword,
  2. String 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.

Params:

  • oldPassword: the old password.
  • newPassword: the new password.

Implementation

Future<void> passwords(String oldPassword, String newPassword);