Class CheckSignInStatusSuccessResponse

Hierarchy (view full)

Implements

Constructors

Properties

discord?: {
    discriminator: string;
    id: string;
    username: string;
}

Signed in with Discord username and discriminator?

Type declaration

  • discriminator: string
  • id: string
  • username: string
github?: {
    id: string;
    username: string;
}

Signed in with GitHub username?

Type declaration

  • id: string
  • username: string
google?: {
    id: string;
    username: string;
}

Signed in with Google username?

Type declaration

  • id: string
  • username: string
message: string

The message that was signed.

Approved scopes

signedIn: boolean

Indicates whether the user is signed in.

twitch?: {
    id: string;
    username: string;
}

Signed in with Twitch?

Type declaration

  • id: string
  • username: string
twitter?: {
    id: string;
    username: string;
}

Signed in with Twitter username?

Type declaration

  • id: string
  • username: string

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>
    • Optional normalizeNumberTypes: boolean

    Returns boolean