Reference
Remy Reference/interface/auth.verifyEmailCode
?

auth.verifyEmailCode

Verify an emailed code and start a session.
auth.verifyEmailCode(verificationId, code) → AppUser

Complete the email-code flow. On success the session is live and onAuthStateChanged fires. Throws invalid_code, verification_expired, or max_attempts_exceeded.

Parameters
verificationId
string
RequiredFrom sendEmailCode.
code
string
RequiredThe 6-digit code the user entered.
Usage
const user = await auth.verifyEmailCode(verificationId, '123456');