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