naystack - v1.9.9
    Preparing search index...

    Type Alias SocialTokens

    Credentials for a connected account. Instagram issues a long-lived accessToken refreshed in place; Google and TikTok pair a short one with a refreshToken. One shape covers both.

    type SocialTokens = {
        accessToken: string;
        expiresAt?: Date;
        refreshToken?: string;
        scopes?: string[];
    }
    Index

    Properties

    accessToken: string
    expiresAt?: Date

    Absent when the platform doesn't say.

    refreshToken?: string
    scopes?: string[]

    Permissions actually granted. A token can be valid yet lack the scope for a given call.