update abstract method

Future<void> update({
  1. required String loginId,
  2. required String newPassword,
  3. required String refreshJwt,
})

Updates a user's password.

In order to do this, the user must have an active DescopeSession whose refreshJwt should be passed as a parameter to this function.

Updates the user identified by loginId with newPassword. newPassword must conform to the password policy defined in the password settings in the Descope console

Implementation

Future<void> update({required String loginId, required String newPassword, required String refreshJwt});