Class EmailVerificationStatus<T>

The verification status of the user's email.

Type Parameters

Hierarchy (view full)

Implements

Constructors

Properties

antiPhishingCode?: string

A unique code that we will send with all emails to verify that BitBadges is the one sending the email.

expiry?: T

The expiry of the token for verification purposes.

token?: string

The email verification token. This is used for verification and unsubscription.

verified?: boolean

Whether or not the email has been verified.

verifiedAt?: T

Verified at timestamp.

Methods

  • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

    If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

    Type Parameters

    Parameters

    • other: undefined | null | CustomType<U>
    • OptionalnormalizeNumberTypes: boolean

    Returns boolean