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 apiclient.ext.authtools</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="apiclient.html"><font color="#ffffff">apiclient</font></a>.<a href="apiclient.ext.html"><font color="#ffffff">ext</font></a>.authtools</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/apiclient/ext/authtools.py">/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/ext/authtools.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 1.0<br> |
| 13 | <br> |
| 14 | Do the OAuth 1.0 Three Legged Dance for<br> |
| 15 | a command line application. Stores the generated<br> |
| 16 | credentials in a common file that is used by<br> |
| 17 | other example apps in the same directory.</tt></p> |
| 18 | <p> |
| 19 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 20 | <tr bgcolor="#aa55cc"> |
| 21 | <td colspan=3 valign=bottom> <br> |
| 22 | <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> |
| 23 | |
| 24 | <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> |
| 25 | <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="BaseHTTPServer.html">BaseHTTPServer</a><br> |
Joe Gregorio | b9e63ff | 2011-06-30 12:38:10 -0400 | [diff] [blame] | 26 | <a href="gflags.html">gflags</a><br> |
Joe Gregorio | 4258d6b | 2011-03-18 10:20:16 -0400 | [diff] [blame] | 27 | </td><td width="25%" valign=top><a href="logging.html">logging</a><br> |
Joe Gregorio | b9e63ff | 2011-06-30 12:38:10 -0400 | [diff] [blame] | 28 | <a href="socket.html">socket</a><br> |
Joe Gregorio | 6e53703 | 2011-02-09 23:04:26 -0500 | [diff] [blame] | 29 | </td><td width="25%" valign=top><a href="sys.html">sys</a><br> |
Joe Gregorio | b9e63ff | 2011-06-30 12:38:10 -0400 | [diff] [blame] | 30 | </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
Joe Gregorio | 6e53703 | 2011-02-09 23:04:26 -0500 | [diff] [blame] | 31 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 32 | <tr bgcolor="#eeaa77"> |
| 33 | <td colspan=3 valign=bottom> <br> |
| 34 | <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> |
| 35 | |
| 36 | <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> |
Joe Gregorio | fffa7d7 | 2011-02-18 17:20:39 -0500 | [diff] [blame] | 37 | <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> |
| 38 | <br> |
| 39 | Args:<br> |
| 40 | flow: Flow, an OAuth 1.0 Flow to step through.<br> |
| 41 | storage: Storage, a Storage to store the credential in.<br> |
| 42 | <br> |
| 43 | Returns:<br> |
| 44 | Credentials, the obtained credential.<br> |
| 45 | <br> |
| 46 | Exceptions:<br> |
| 47 | RequestError: if step2 of the flow fails.<br> |
| 48 | Args:</tt></dd></dl> |
Joe Gregorio | 6e53703 | 2011-02-09 23:04:26 -0500 | [diff] [blame] | 49 | </td></tr></table><p> |
| 50 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 51 | <tr bgcolor="#55aa55"> |
| 52 | <td colspan=3 valign=bottom> <br> |
| 53 | <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> |
| 54 | |
| 55 | <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> |
| 56 | <td width="100%"><strong>__all__</strong> = ['run']<br> |
| 57 | <strong>__author__</strong> = 'jcgregorio@google.com (Joe Gregorio)'</td></tr></table><p> |
| 58 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 59 | <tr bgcolor="#7799ee"> |
| 60 | <td colspan=3 valign=bottom> <br> |
| 61 | <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr> |
| 62 | |
| 63 | <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> |
| 64 | <td width="100%">jcgregorio@google.com (Joe Gregorio)</td></tr></table> |
| 65 | </body></html> |