refreshGoogleToken

Refreshes the OAuth API token in the passed Google credentials.

version(TwitchSupport && WithTwitchPlugin)
private
void
refreshGoogleToken

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

creds Credentials

Credentials aggregate.

Throws

UnexpectedJSONException

on unexpected JSON.

ErrorJSONException

if the returned JSON has an "error" field.