Index
Properties
Methods
Properties
verificationId
The phone number authentication operation's verification ID. This can be used along with the verification code to initialize a phone auth credential.
Methods
confirm
-
Finishes a phone number sign-in, link, or reauthentication, given the code that was sent to the user's mobile device.
Error Codes
- auth/invalid-verification-code
- Thrown if the verification code is not valid.
- auth/missing-verification-code
- Thrown if the verification code is missing.
Parameters
-
verificationCode: string
Returns Promise<UserCredential>
A result from a phone number sign-in, link, or reauthenticate call.