setTempPassword method
Sets a temporary password.
correlationId
(optional) transaction id to trace execution through call chain.userId
an id of password to be set. Return Future that receives string temp password.
Implementation
@override
Future<String> setTempPassword(String? correlationId, String userId) async {
var timing = instrument(correlationId, 'passwords.set_temp_password');
var password = await controller.setTempPassword(correlationId, userId);
timing.endTiming();
return password;
}