Public Member Functions | |
def | authenticate_redirect |
def | get_authenticated_user |
Private Member Functions | |
def | _on_authentication_verified |
def | _openid_args |
Abstract implementation of OpenID and Attribute Exchange. See GoogleMixin below for example implementations.
def tornado.auth.OpenIdMixin._on_authentication_verified | ( | self, | |
callback, | |||
response | |||
) | [private] |
def tornado.auth.OpenIdMixin._openid_args | ( | self, | |
callback_uri, | |||
ax_attrs = [] , |
|||
oauth_scope = None |
|||
) | [private] |
def tornado.auth.OpenIdMixin.authenticate_redirect | ( | self, | |
callback_uri = None , |
|||
ax_attrs = ["name" , |
|||
email, | |||
language, | |||
username | |||
) |
Returns the authentication URL for this service. After authentication, the service will redirect back to the given callback URI. We request the given attributes for the authenticated user by default (name, email, language, and username). If you don't need all those attributes for your app, you can request fewer with the ax_attrs keyword argument.
def tornado.auth.OpenIdMixin.get_authenticated_user | ( | self, | |
callback, | |||
http_client = None |
|||
) |