recoverPassword method

  1. @override
Future recoverPassword(
  1. String? correlationId,
  2. String userId
)
override

Recovers a password.

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

Implementation

@override
Future recoverPassword(String? correlationId, String userId) async {
  var timing = instrument(correlationId, 'passwords.recover_password');
  var result = await controller.recoverPassword(correlationId, userId);
  timing.endTiming();
  return result;
}