b574bc2a986ac5008e2a7b13a83cb32742888f43
According to the [OAuth2 docs](https://developers.google.com/accounts/docs/OAuth2WebServer#tokenrevoke), we can use either the refresh token or access token when revoking a token. If we've lost the refresh token for some reason, we should fall back to revoking via access token. (Note that if the access token has expired, this will still raise, which is the correct behavior.) Fixes #132.
This is a client library for accessing resources protected by OAuth 2.0.
Installation
To install, simply say
$ pip install --upgrade oauth2client
Contributing
Please see the contributing page for more information. In particular, we love pull requests -- but please make sure to sign the contributor license agreement.
Supported Python Versions
We support Python 2.6, 2.7, 3.3+. More information in the docs.
Description
Languages
Python
99.3%
Shell
0.7%