deletePassword method

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

Deletes a password.

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

Implementation

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