changePassword abstract method

Future changePassword(
  1. String? correlationId,
  2. String userId,
  3. String oldPassword,
  4. String newPassword,
)

Changes a password.

  • correlationId (optional) transaction id to trace execution through call chain.
  • userId an id of password.
  • oldPassword an old password.
  • newPassword a new password. Return Future that receives null for success.

Implementation

Future changePassword(String? correlationId, String userId,
    String oldPassword, String newPassword);