Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.25 KB

auth.rst

File metadata and controls

58 lines (40 loc) · 1.25 KB

tornado.auth --- Third-party login with OpenID and OAuth

tornado.auth

Common protocols

These classes implement the OpenID and OAuth standards. They will generally need to be subclassed to use them with any particular site. The degree of customization required will vary, but in most cases overridding the class attributes (which are named beginning with underscores for historical reasons) should be sufficient.

OpenIdMixin

OAuthMixin

authorize_redirect

get_authenticated_user

_oauth_consumer_token

_oauth_get_user_future

get_auth_http_client

OAuth2Mixin

Google

GoogleMixin

GoogleOAuth2Mixin

Facebook

FacebookGraphMixin

FacebookMixin

Twitter

TwitterMixin

FriendFeed

FriendFeedMixin