Joe Gregorio | 6e53703 | 2011-02-09 23:04:26 -0500 | [diff] [blame] | 1 | |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 | <html><head><title>Python: module oauth2client.tools</title> |
| 4 | </head><body bgcolor="#f0f0f8"> |
| 5 | |
| 6 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
| 7 | <tr bgcolor="#7799ee"> |
| 8 | <td valign=bottom> <br> |
| 9 | <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="oauth2client.html"><font color="#ffffff">oauth2client</font></a>.tools</strong></big></big></font></td |
| 10 | ><td align=right valign=bottom |
Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [diff] [blame^] | 11 | ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/tools.py">/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/tools.py</a></font></td></tr></table> |
Joe Gregorio | 6e53703 | 2011-02-09 23:04:26 -0500 | [diff] [blame] | 12 | <p><tt>Command-line tools for authenticating via OAuth 2.0<br> |
| 13 | <br> |
Joe Gregorio | 3b79fa8 | 2011-02-17 11:47:17 -0500 | [diff] [blame] | 14 | Do the OAuth 2.0 Web Server dance for a command line application. Stores the<br> |
| 15 | generated credentials in a common file that is used by other example apps in<br> |
| 16 | the same directory.</tt></p> |
Joe Gregorio | 6e53703 | 2011-02-09 23:04:26 -0500 | [diff] [blame] | 17 | <p> |
| 18 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 19 | <tr bgcolor="#aa55cc"> |
| 20 | <td colspan=3 valign=bottom> <br> |
| 21 | <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> |
| 22 | |
| 23 | <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> |
| 24 | <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="BaseHTTPServer.html">BaseHTTPServer</a><br> |
Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [diff] [blame^] | 25 | </td><td width="25%" valign=top><a href="gflags.html">gflags</a><br> |
| 26 | </td><td width="25%" valign=top><a href="socket.html">socket</a><br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 27 | </td><td width="25%" valign=top><a href="sys.html">sys</a><br> |
Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [diff] [blame^] | 28 | </td></tr></table></td></tr></table><p> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 29 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
Joe Gregorio | 6e53703 | 2011-02-09 23:04:26 -0500 | [diff] [blame] | 30 | <tr bgcolor="#eeaa77"> |
| 31 | <td colspan=3 valign=bottom> <br> |
| 32 | <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> |
| 33 | |
| 34 | <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> |
Joe Gregorio | fffa7d7 | 2011-02-18 17:20:39 -0500 | [diff] [blame] | 35 | <td width="100%"><dl><dt><a name="-run"><strong>run</strong></a>(flow, storage)</dt><dd><tt>Core code for a command-line application.<br> |
| 36 | <br> |
| 37 | Args:<br> |
| 38 | flow: Flow, an OAuth 2.0 Flow to step through.<br> |
| 39 | storage: Storage, a Storage to store the credential in.<br> |
| 40 | <br> |
| 41 | Returns:<br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 42 | Credentials, the obtained credential.</tt></dd></dl> |
Joe Gregorio | 6e53703 | 2011-02-09 23:04:26 -0500 | [diff] [blame] | 43 | </td></tr></table><p> |
| 44 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 45 | <tr bgcolor="#55aa55"> |
| 46 | <td colspan=3 valign=bottom> <br> |
| 47 | <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> |
| 48 | |
| 49 | <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> |
| 50 | <td width="100%"><strong>__all__</strong> = ['run']<br> |
| 51 | <strong>__author__</strong> = 'jcgregorio@google.com (Joe Gregorio)'</td></tr></table><p> |
| 52 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 53 | <tr bgcolor="#7799ee"> |
| 54 | <td colspan=3 valign=bottom> <br> |
| 55 | <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr> |
| 56 | |
| 57 | <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> |
| 58 | <td width="100%">jcgregorio@google.com (Joe Gregorio)</td></tr></table> |
| 59 | </body></html> |