Public Member Functions | Private Member Functions
tornado.auth.OpenIdMixin Class Reference
Inheritance diagram for tornado.auth.OpenIdMixin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def authenticate_redirect
def get_authenticated_user

Private Member Functions

def _on_authentication_verified
def _openid_args

Detailed Description

Abstract implementation of OpenID and Attribute Exchange.

See GoogleMixin below for example implementations.

Definition at line 65 of file auth.py.


Member Function Documentation

def tornado.auth.OpenIdMixin._on_authentication_verified (   self,
  callback,
  response 
) [private]

Definition at line 151 of file auth.py.

def tornado.auth.OpenIdMixin._openid_args (   self,
  callback_uri,
  ax_attrs = [],
  oauth_scope = None 
) [private]

Definition at line 103 of file auth.py.

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.

Definition at line 70 of file auth.py.

def tornado.auth.OpenIdMixin.get_authenticated_user (   self,
  callback,
  http_client = None 
)
Fetches the authenticated user data upon redirect.

This method should be called by the handler that receives the
redirect from the authenticate_redirect() or authorize_redirect()
methods.

Definition at line 86 of file auth.py.


The documentation for this class was generated from the following file:


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Mon Oct 6 2014 06:58:14