Joe Gregorio | fffa7d7 | 2011-02-18 17:20:39 -0500 | [diff] [blame] | 1 | |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 | <html><head><title>Python: module apiclient.ext.file</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>.file</strong></big></big></font></td |
| 10 | ><td align=right valign=bottom |
Joe Gregorio | 351b149 | 2011-05-08 23:32:46 -0700 | [diff] [blame^] | 11 | ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/jcgregorio/projects/google-api-python-client/apiclient/ext/file.py">/home/jcgregorio/projects/google-api-python-client/apiclient/ext/file.py</a></font></td></tr></table> |
Joe Gregorio | fffa7d7 | 2011-02-18 17:20:39 -0500 | [diff] [blame] | 12 | <p><tt>Utilities for OAuth.<br> |
| 13 | <br> |
| 14 | Utilities for making it easier to work with OAuth 1.0 credentials.</tt></p> |
| 15 | <p> |
| 16 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 17 | <tr bgcolor="#aa55cc"> |
| 18 | <td colspan=3 valign=bottom> <br> |
| 19 | <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> |
| 20 | |
| 21 | <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> |
| 22 | <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="pickle.html">pickle</a><br> |
Joe Gregorio | ad258e2 | 2011-02-22 22:53:30 -0500 | [diff] [blame] | 23 | </td><td width="25%" valign=top><a href="threading.html">threading</a><br> |
| 24 | </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
Joe Gregorio | fffa7d7 | 2011-02-18 17:20:39 -0500 | [diff] [blame] | 25 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 26 | <tr bgcolor="#ee77aa"> |
| 27 | <td colspan=3 valign=bottom> <br> |
| 28 | <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> |
| 29 | |
| 30 | <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> |
| 31 | <td width="100%"><dl> |
| 32 | <dt><font face="helvetica, arial"><a href="apiclient.oauth.html#Storage">apiclient.oauth.Storage</a>(<a href="__builtin__.html#object">__builtin__.object</a>) |
| 33 | </font></dt><dd> |
| 34 | <dl> |
| 35 | <dt><font face="helvetica, arial"><a href="apiclient.ext.file.html#Storage">Storage</a> |
| 36 | </font></dt></dl> |
| 37 | </dd> |
| 38 | </dl> |
| 39 | <p> |
| 40 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 41 | <tr bgcolor="#ffc8d8"> |
| 42 | <td colspan=3 valign=bottom> <br> |
| 43 | <font color="#000000" face="helvetica, arial"><a name="Storage">class <strong>Storage</strong></a>(<a href="apiclient.oauth.html#Storage">apiclient.oauth.Storage</a>)</font></td></tr> |
| 44 | |
| 45 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 46 | <td colspan=2><tt>Store and retrieve a single credential to and from a file.<br> </tt></td></tr> |
| 47 | <tr><td> </td> |
| 48 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 49 | <dd><a href="apiclient.ext.file.html#Storage">Storage</a></dd> |
| 50 | <dd><a href="apiclient.oauth.html#Storage">apiclient.oauth.Storage</a></dd> |
| 51 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 52 | </dl> |
| 53 | <hr> |
| 54 | Methods defined here:<br> |
| 55 | <dl><dt><a name="Storage-__init__"><strong>__init__</strong></a>(self, filename)</dt></dl> |
| 56 | |
| 57 | <dl><dt><a name="Storage-get"><strong>get</strong></a>(self)</dt><dd><tt>Retrieve Credential from file.<br> |
| 58 | <br> |
| 59 | Returns:<br> |
| 60 | apiclient.oauth.Credentials</tt></dd></dl> |
| 61 | |
| 62 | <dl><dt><a name="Storage-put"><strong>put</strong></a>(self, credentials)</dt><dd><tt>Write a pickled Credentials to file.<br> |
| 63 | <br> |
| 64 | Args:<br> |
| 65 | credentials: Credentials, the credentials to store.</tt></dd></dl> |
| 66 | |
| 67 | <hr> |
| 68 | Data descriptors inherited from <a href="apiclient.oauth.html#Storage">apiclient.oauth.Storage</a>:<br> |
| 69 | <dl><dt><strong>__dict__</strong></dt> |
| 70 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 71 | </dl> |
| 72 | <dl><dt><strong>__weakref__</strong></dt> |
| 73 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 74 | </dl> |
| 75 | </td></tr></table></td></tr></table><p> |
| 76 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 77 | <tr bgcolor="#55aa55"> |
| 78 | <td colspan=3 valign=bottom> <br> |
| 79 | <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> |
| 80 | |
| 81 | <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> |
| 82 | <td width="100%"><strong>__author__</strong> = 'jcgregorio@google.com (Joe Gregorio)'</td></tr></table><p> |
| 83 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 84 | <tr bgcolor="#7799ee"> |
| 85 | <td colspan=3 valign=bottom> <br> |
| 86 | <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr> |
| 87 | |
| 88 | <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> |
| 89 | <td width="100%">jcgregorio@google.com (Joe Gregorio)</td></tr></table> |
| 90 | </body></html> |