reauthenticateWithPhoneNumber method

Future<ConfirmationResult> reauthenticateWithPhoneNumber(
  1. String phoneNumber,
  2. 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));