?
auth.verifySmsCode
Verify an SMS code and start a session.
auth.verifySmsCode(verificationId, code) → AppUser
Complete the SMS-code flow. On success the session is live and onAuthStateChanged fires.
Parameters
verificationId
string
RequiredFrom sendSmsCode.
code
string
RequiredThe 6-digit code the user entered.
Usage
const user = await auth.verifySmsCode(verificationId, '123456');