validateConfirmationCode method
- UserLogin? login,
- UserNum? num,
- UserEmail? email,
- UserPhone? phone,
- required ConfirmationCode code,
override
Validates the provided ConfirmationCode for the MyUser identified by the
provided login
, num
, email
and/or phone
without using it.
Implementation
@override
Future<void> validateConfirmationCode({
UserLogin? login,
UserNum? num,
UserEmail? email,
UserPhone? phone,
required ConfirmationCode code,
}) async {
Log.debug(
'validateConfirmationCode(login: $login, num: $num, email: ${email?.obscured}, phone: ${phone?.obscured}, code: $code)',
'$runtimeType',
);
await _graphQlProvider.validateConfirmationCode(
identifier: MyUserIdentifier(
login: login,
num: num,
email: email,
phone: phone,
),
code: code,
);
}