requestGoogleKeys

Requests a Google API authorisation code from Google servers, then uses it to obtain an access key and a refresh OAuth key.

version(TwitchSupport && WithTwitchPlugin)
void
requestGoogleKeys

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

Throws

ErrorJSONException

if the returned JSON has an "error" field.