Credentials

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

Members

Functions

toJSON
auto toJSON()

Serialises these Credentials into JSON.

Static functions

fromJSON
auto fromJSON(JSONValue json)

Deserialises some Credentials from JSON.

Variables

broadcasterKey
string broadcasterKey;

Broadcaster-level Twitch key.

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

Meta