Authentication tokens returned after successful OAuth flow

interface AuthTokens {
    accessToken: string;
    refreshToken: string;
    expiresIn: number;
}

Properties

accessToken: string

Spotify API access token

refreshToken: string

Spotify API refresh token

expiresIn: number

Seconds until the access token expires