exchange package:gogol

Perform the initial credentials exchange to obtain a valid OAuthToken suitable for authorizing requests.
Exchange OAuthClient details and the received OAuthCode for a new OAuthToken. See: Exchanging the code.