Skip to main content

EraWebOptions

Configuration passed to the EraWeb constructor.
string
required
Base URL of the Era service. Trailing slashes are removed.
string
required
Publishable key for browser identity and verification requests.

VerificationType

Use "email" with an email address. Use "phone" with an E.164 phone number.

VerificationChallenge

Returned by startVerification() and resendVerification().

VerificationStatus

Returned by getVerification().
eraEndUserId is an opaque continuity ID. Do not use it to authorize access.

VerificationConfirmation

Returned by confirmVerification().
A successful confirmation proves control of the email address or phone number. It does not sign the user in to your application.