account.verifyEmail #

Verify an email address.

Layer 223

account.emailVerified#2b96cd1b email:string = account.EmailVerified;
account.emailVerifiedLogin#e1bb0d61 email:string sent_code:auth.SentCode = account.EmailVerified;
---functions---
account.verifyEmail#32da4cf purpose:EmailVerifyPurpose verification:EmailVerification = account.EmailVerified;

Parameters #

NameTypeDescription
purposeEmailVerifyPurposeVerification purpose
verificationEmailVerificationEmail verification code or token

Result #

account.EmailVerified

Only users can use this method #

This method can be invoked over an unauthenticated connection » #

Possible errors #

CodeTypeDescription
400CODE_INVALIDCode invalid.
400EMAIL_INVALIDThe specified email is invalid.
400EMAIL_NOT_ALLOWEDThe specified email cannot be used to complete the operation.
400EMAIL_VERIFY_EXPIREDThe verification email has expired.
400PHONE_CODE_EXPIREDThe phone code you provided has expired.
400PHONE_NUMBER_INVALIDThe phone number is invalid.