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

List of all members.

Public Member Functions

def authorize_redirect

Private Member Functions

def _oauth_request_token_url

Detailed Description

Abstract implementation of OAuth v 2.

Definition at line 390 of file auth.py.


Member Function Documentation

def tornado.auth.OAuth2Mixin._oauth_request_token_url (   self,
  redirect_uri = None,
  client_id = None,
  client_secret = None,
  code = None,
  extra_params = None 
) [private]

Definition at line 412 of file auth.py.

def tornado.auth.OAuth2Mixin.authorize_redirect (   self,
  redirect_uri = None,
  client_id = None,
  client_secret = None,
  extra_params = None 
)
Redirects the user to obtain OAuth authorization for this service.

Some providers require that you register a Callback
URL with your application. You should call this method to log the
user in, and then call get_authenticated_user() in the handler
you registered as your Callback URL to complete the authorization
process.

Definition at line 393 of file auth.py.


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


roswww
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:30