kameloso.plugins.twitch.providers.twitch

Functions for generating a Twitch API key.

Members

Functions

buildAuthNodeURL
auto buildAuthNodeURL(string authNode, string[] scopes)

Constructs an authorisation node URL with the passed scopes.

getTokenExpiry
auto getTokenExpiry(TwitchPlugin plugin, string authToken)

Validates an authorisation token and returns a SysTime of when it expires.

readURLAndParseKey
auto readURLAndParseKey(TwitchPlugin plugin, string authNode)

Reads a URL from standard in and parses an OAuth key from it.

requestTwitchKey
void requestTwitchKey(TwitchPlugin plugin)

Starts the key generation terminal wizard.

requestTwitchSuperKey
void requestTwitchSuperKey(TwitchPlugin plugin)

Starts the super-key generation terminal wizard.

See Also

Meta