oauth2client.tools
index
/home/jcgregorio/projects/apiary/oauth2client/tools.py

Command-line tools for authenticating via OAuth 2.0
 
Do the OAuth 2.0 Web Server dance for a command line application. Stores the
generated credentials in a common file that is used by other example apps in
the same directory.

 
Functions
       
run(flow, storage)
Core code for a command-line application.
 
Args:
  flow: Flow, an OAuth 2.0 Flow to step through.
  storage: Storage, a Storage to store the credential in.
 
Returns:
  Credentials, the obtained credential.
 
Exceptions:
  RequestError: if step2 of the flow fails.

 
Data
        __all__ = ['run']
__author__ = 'jcgregorio@google.com (Joe Gregorio)'

 
Author
        jcgregorio@google.com (Joe Gregorio)