reauthenticateWithPhoneNumber method
Future<ConfirmationResult>
reauthenticateWithPhoneNumber(
- String phoneNumber,
- ApplicationVerifier<
ApplicationVerifierJsImpl> applicationVerifier
Re-authenticates a user using a fresh credential. Use before operations such as updatePassword that require tokens from recent sign-in attempts.
The user's phone number is in E.164 format (e.g. +16505550101).
Implementation
Future<ConfirmationResult> reauthenticateWithPhoneNumber(
String phoneNumber, ApplicationVerifier applicationVerifier) =>
handleThenable(jsObject.reauthenticateWithPhoneNumber(
phoneNumber, applicationVerifier.jsObject))
.then((c) => ConfirmationResult.fromJsObject(c));