Go to file
Eddie Warner 6a273d678b Expand API for step2_exchange
In python 3, the code received from the browser will be binary instead of a string. Expand the API for oauth_flow.step2_exchange(code) to allow this value to be passed as is rather than decoding.

for example:
credentials = self.flow.step2_exchange(b'some random code')

test:
tox -e py34  -- tests.test_client:OAuth2WebServerFlowTest.test_exchange_success_binary_code

resolves:  #443, #446
2016-03-01 15:02:56 -08:00
2016-03-01 15:02:56 -08:00
2015-12-04 11:39:34 -08:00
2014-10-10 07:49:44 -07:00
2015-01-06 01:32:28 -08:00
2015-12-17 18:35:54 -05:00

Build Status Coverage Status Documentation Status

This is a client library for accessing resources protected by OAuth 2.0.

Installation

To install, simply run the following command in your terminal:

$ 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
RETIRED, further work has moved to Debian project infrastructure
Readme 9.7 MiB
Languages
Python 99.3%
Shell 0.7%