Credentials

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

Constructors

this
this(JSONSchema json)

Constructor.

Members

Functions

asSchema
auto asSchema()

Returns a JSONSchema object with the same data as this one.

Structs

JSONSchema
struct JSONSchema

JSON schema for the credentials file.

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