Skip to content

1.0.3

Compare
Choose a tag to compare
@ryanseys ryanseys released this 30 Jul 23:53
  • 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.