Public Member Functions | |
def | authorize_redirect |
Private Member Functions | |
def | _oauth_request_token_url |
def tornado.auth.OAuth2Mixin._oauth_request_token_url | ( | self, | |
redirect_uri = None , |
|||
client_id = None , |
|||
client_secret = None , |
|||
code = None , |
|||
extra_params = None |
|||
) | [private] |
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.