@lgriffin/esi.ts - EVE Online ESI API Client - v12.3.0
    Preparing search index...

    Interface StoredToken

    A character's SSO credentials as held by an ITokenStorage.

    Timestamps are epoch milliseconds so the record is JSON-safe and can be compared against Date.now() without parsing.

    interface StoredToken {
        characterId: number;
        characterName: string;
        accessToken: string;
        refreshToken: string;
        expiresAt: number;
        scopes: string[];
        ownerHash?: string;
        updatedAt: number;
        revokedAt?: number;
    }
    Index
    characterId: number

    EVE character id, decoded from the access token's sub claim.

    characterName: string

    Character name, decoded from the access token's name claim.

    accessToken: string

    Current bearer token for ESI requests.

    refreshToken: string

    Refresh token as of the last SSO exchange; SSO rotates it on every use.

    expiresAt: number

    When accessToken expires, in epoch milliseconds.

    scopes: string[]

    Scopes granted to this token, decoded from the scp claim.

    ownerHash?: string

    The owner claim: changes if the character is transferred between accounts.

    updatedAt: number

    When this record was last written, in epoch milliseconds.

    revokedAt?: number

    Set when SSO rejected the refresh token as invalid. The manager stops contacting SSO for this character until it is added again.