Credentials

Credentials needed to access APIs like that of Google and Spotify.

Constructors

this
this(JSONValue json)

Deserialises some Credentials from JSON.

Members

Functions

toJSON
auto toJSON()

Serialises these Credentials into JSON.

Variables

broadcasterBearerToken
string broadcasterBearerToken;

Broadcaster-level full Bearer token.

broadcasterKey
string broadcasterKey;

Broadcaster-level Twitch key.

broadcasterKeyExpiry
long broadcasterKeyExpiry;

Broadcaster-level token expiry timestamp.

googleAccessToken
string googleAccessToken;

Google API OAuth access token.

googleClientID
string googleClientID;

Google client ID.

googleClientSecret
string googleClientSecret;

Google client secret.

googleRefreshToken
string googleRefreshToken;

Google API OAuth refresh token.

spotifyAccessToken
string spotifyAccessToken;

Spotify API OAuth access token.

spotifyClientID
string spotifyClientID;

Google client ID.

spotifyClientSecret
string spotifyClientSecret;

Google client secret.

spotifyPlaylistID
string spotifyPlaylistID;

Spotify playlist ID.

spotifyRefreshToken
string spotifyRefreshToken;

Spotify API OAuth refresh token.

youtubePlaylistID
string youtubePlaylistID;

YouTube playlist ID.

See Also