createConfirmationCode method
override
Generates and sends a new single-use ConfirmationCode for the MyUser
identified by the provided login
, num
, email
and/or phone
.
Implementation
@override
Future<void> createConfirmationCode({
UserLogin? login,
UserNum? num,
UserEmail? email,
UserPhone? phone,
String? locale,
}) async {
Log.debug(
'createConfirmationCode(login: $login, num: $num, email: ${email?.obscured}, phone: ${phone?.obscured}, locale: $locale)',
'$runtimeType',
);
await _graphQlProvider.createConfirmationCode(
MyUserIdentifier(login: login, num: num, email: email, phone: phone),
locale: locale,
);
}