getGoogleTokens

Request OAuth API tokens from Google.

version(TwitchSupport && WithTwitchPlugin)
private
void
getGoogleTokens
(,
const string code
,
const string caBundleFile
)

Parameters

creds Credentials

Credentials aggregate.

code string

Google authorisation code.

caBundleFile string

Path to a cacert.pem bundle file.

Throws

UnexpectedJSONException

on unexpected JSON.

ErrorJSONException

if the returned JSON has an "error" field.