]> git.ipfire.org Git - thirdparty/tornado.git/commit
Introduce OAuth2Mixin.oauth2_request.
authorBen Darnell <ben@bendarnell.com>
Sun, 28 Jun 2015 20:41:46 +0000 (16:41 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 28 Jun 2015 20:41:46 +0000 (16:41 -0400)
commit617d41f216ae195d630897d89cdf2fc9fc6fe91b
tree68697a8f00840fc1d772e48b09531e5a530a1ba4
parent577537cbedc65dbda3759045cf41f44780d28427
Introduce OAuth2Mixin.oauth2_request.

This method can serve as a general replacement for methods like
FacebookGraphMixin.facebook_request.

Update docs for GoogleOAuth2Mixin.get_authenticated_user to indicate
that only the tokens are returned, not other user information.

Add some basic tests for GoogleOAuth2Mixin.

This commit incorporates code from FanFani4 in #1212 and
kippandrew in #1454.
tornado/auth.py
tornado/test/auth_test.py