1.0.3
- Refresh token before the request only when necessary. No longer refreshes if there's an authentication error.
- Media body and mimeType now specified as:
media: {
mimeType: 'text/plain', // or whatever mimeType you need
body: body
}
- No longer support
media: body
as a result of the changes above. - Added
OAuth2.revokeCredentials()
to easily revoke and clear the credentials of your OAuth2 client.