changePassword method
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
@override
Future changePassword(String? correlationId, String userId,
String oldPassword, String newPassword) async {
var timing = instrument(correlationId, 'passwords.change_password');
var result = await controller.changePassword(
correlationId, userId, oldPassword, newPassword);
timing.endTiming();
return result;
}