|  | <?xml version="1.0" encoding="ascii"?> | 
|  | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | 
|  | "DTD/xhtml1-transitional.dtd"> | 
|  | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | 
|  | <head> | 
|  | <title>oauth2client.appengine.CredentialsModel</title> | 
|  | <link rel="stylesheet" href="epydoc.css" type="text/css" /> | 
|  | <script type="text/javascript" src="epydoc.js"></script> | 
|  | </head> | 
|  |  | 
|  | <body bgcolor="white" text="black" link="blue" vlink="#204080" | 
|  | alink="#204080"> | 
|  | <!-- ==================== NAVIGATION BAR ==================== --> | 
|  | <table class="navbar" border="0" width="100%" cellpadding="0" | 
|  | bgcolor="#a0c0ff" cellspacing="0"> | 
|  | <tr valign="middle"> | 
|  |  | 
|  | <!-- Tree link --> | 
|  | <th>   <a | 
|  | href="module-tree.html">Trees</a>   </th> | 
|  |  | 
|  | <!-- Index link --> | 
|  | <th>   <a | 
|  | href="identifier-index.html">Indices</a>   </th> | 
|  |  | 
|  | <!-- Help link --> | 
|  | <th>   <a | 
|  | href="help.html">Help</a>   </th> | 
|  |  | 
|  | <th class="navbar" width="100%"></th> | 
|  | </tr> | 
|  | </table> | 
|  | <table width="100%" cellpadding="0" cellspacing="0"> | 
|  | <tr valign="top"> | 
|  | <td width="100%"> | 
|  | <span class="breadcrumbs"> | 
|  | <a href="oauth2client-module.html">Package oauth2client</a> :: | 
|  | <a href="oauth2client.appengine-module.html">Module appengine</a> :: | 
|  | Class CredentialsModel | 
|  | </span> | 
|  | </td> | 
|  | <td> | 
|  | <table cellpadding="0" cellspacing="0"> | 
|  | <!-- hide/show private --> | 
|  | <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" | 
|  | onclick="toggle_private();">hide private</a>]</span></td></tr> | 
|  | <tr><td align="right"><span class="options" | 
|  | >[<a href="frames.html" target="_top">frames</a | 
|  | >] | <a href="oauth2client.appengine.CredentialsModel-class.html" | 
|  | target="_top">no frames</a>]</span></td></tr> | 
|  | </table> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | <!-- ==================== CLASS DESCRIPTION ==================== --> | 
|  | <h1 class="epydoc">Class CredentialsModel</h1><p class="nomargin-top"><span class="codelink"><a href="oauth2client.appengine-pysrc.html#CredentialsModel">source code</a></span></p> | 
|  | <center> | 
|  | <center>  <map id="class_hierarchy_for_credential" name="class_hierarchy_for_credential"> | 
|  | <area shape="rect" href="javascript:void(0);" title="google.appengine.ext.db.Model" alt="" coords="5,5,205,32"/> | 
|  | <area shape="rect" href="oauth2client.appengine.CredentialsModel-class.html" title="CredentialsModel" alt="" coords="45,61,165,88"/> | 
|  | </map> | 
|  | <img src="class_hierarchy_for_credential.gif" alt='' usemap="#class_hierarchy_for_credential" ismap="ismap" class="graph-without-title" /> | 
|  | </center> | 
|  | </center> | 
|  | <hr /> | 
|  | <pre class="literalblock"> | 
|  | Storage for OAuth 2.0 Credentials | 
|  |  | 
|  | Storage of the model is keyed by the user.user_id(). | 
|  |  | 
|  | </pre> | 
|  |  | 
|  | <!-- ==================== NESTED CLASSES ==================== --> | 
|  | <a name="section-NestedClasses"></a> | 
|  | <table class="summary" border="1" cellpadding="3" | 
|  | cellspacing="0" width="100%" bgcolor="white"> | 
|  | <tr bgcolor="#70b0f0" class="table-header"> | 
|  | <td colspan="2" class="table-header"> | 
|  | <table border="0" cellpadding="0" cellspacing="0" width="100%"> | 
|  | <tr valign="top"> | 
|  | <td align="left"><span class="table-header">Nested Classes</span></td> | 
|  | <td align="right" valign="top" | 
|  | ><span class="options">[<a href="#section-NestedClasses" | 
|  | class="privatelink" onclick="toggle_private();" | 
|  | >hide private</a>]</span></td> | 
|  | </tr> | 
|  | </table> | 
|  | </td> | 
|  | </tr> | 
|  | <tr> | 
|  | <td colspan="2" class="summary"> | 
|  | <p class="indent-wrapped-lines"><b>Inherited from <code>google.appengine.ext.db.Model</code></b>: | 
|  | <code><a href="google.appengine.ext.db.PropertiedClass-class.html">__metaclass__</a></code> | 
|  | </p> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | <!-- ==================== INSTANCE METHODS ==================== --> | 
|  | <a name="section-InstanceMethods"></a> | 
|  | <table class="summary" border="1" cellpadding="3" | 
|  | cellspacing="0" width="100%" bgcolor="white"> | 
|  | <tr bgcolor="#70b0f0" class="table-header"> | 
|  | <td colspan="2" class="table-header"> | 
|  | <table border="0" cellpadding="0" cellspacing="0" width="100%"> | 
|  | <tr valign="top"> | 
|  | <td align="left"><span class="table-header">Instance Methods</span></td> | 
|  | <td align="right" valign="top" | 
|  | ><span class="options">[<a href="#section-InstanceMethods" | 
|  | class="privatelink" onclick="toggle_private();" | 
|  | >hide private</a>]</span></td> | 
|  | </tr> | 
|  | </table> | 
|  | </td> | 
|  | </tr> | 
|  | <tr> | 
|  | <td colspan="2" class="summary"> | 
|  | <p class="indent-wrapped-lines"><b>Inherited from <code>google.appengine.ext.db.Model</code></b>: | 
|  | <code>__init__</code>, | 
|  | <code>delete</code>, | 
|  | <code>dynamic_properties</code>, | 
|  | <code>has_key</code>, | 
|  | <code>instance_properties</code>, | 
|  | <code>is_saved</code>, | 
|  | <code>key</code>, | 
|  | <code>parent</code>, | 
|  | <code>parent_key</code>, | 
|  | <code>put</code>, | 
|  | <code>save</code>, | 
|  | <code>to_xml</code> | 
|  | </p> | 
|  | <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>google.appengine.ext.db.Model</code></b> (private): | 
|  | <code>_populate_entity</code>, | 
|  | <code>_populate_internal_entity</code>, | 
|  | <code>_to_entity</code> | 
|  | </p></div> | 
|  | <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: | 
|  | <code>__delattr__</code>, | 
|  | <code>__format__</code>, | 
|  | <code>__getattribute__</code>, | 
|  | <code>__hash__</code>, | 
|  | <code>__reduce__</code>, | 
|  | <code>__reduce_ex__</code>, | 
|  | <code>__repr__</code>, | 
|  | <code>__setattr__</code>, | 
|  | <code>__sizeof__</code>, | 
|  | <code>__str__</code>, | 
|  | <code>__subclasshook__</code> | 
|  | </p> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | <!-- ==================== CLASS METHODS ==================== --> | 
|  | <a name="section-ClassMethods"></a> | 
|  | <table class="summary" border="1" cellpadding="3" | 
|  | cellspacing="0" width="100%" bgcolor="white"> | 
|  | <tr bgcolor="#70b0f0" class="table-header"> | 
|  | <td colspan="2" class="table-header"> | 
|  | <table border="0" cellpadding="0" cellspacing="0" width="100%"> | 
|  | <tr valign="top"> | 
|  | <td align="left"><span class="table-header">Class Methods</span></td> | 
|  | <td align="right" valign="top" | 
|  | ><span class="options">[<a href="#section-ClassMethods" | 
|  | class="privatelink" onclick="toggle_private();" | 
|  | >hide private</a>]</span></td> | 
|  | </tr> | 
|  | </table> | 
|  | </td> | 
|  | </tr> | 
|  | <tr> | 
|  | <td colspan="2" class="summary"> | 
|  | <p class="indent-wrapped-lines"><b>Inherited from <code>google.appengine.ext.db.Model</code></b>: | 
|  | <code>all</code>, | 
|  | <code>entity_type</code>, | 
|  | <code>fields</code>, | 
|  | <code>from_entity</code>, | 
|  | <code>get</code>, | 
|  | <code>get_by_id</code>, | 
|  | <code>get_by_key_name</code>, | 
|  | <code>get_or_insert</code>, | 
|  | <code>gql</code>, | 
|  | <code>kind</code>, | 
|  | <code>properties</code> | 
|  | </p> | 
|  | <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>google.appengine.ext.db.Model</code></b> (private): | 
|  | <code>_load_entity_values</code> | 
|  | </p></div> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | <!-- ==================== STATIC METHODS ==================== --> | 
|  | <a name="section-StaticMethods"></a> | 
|  | <table class="summary" border="1" cellpadding="3" | 
|  | cellspacing="0" width="100%" bgcolor="white"> | 
|  | <tr bgcolor="#70b0f0" class="table-header"> | 
|  | <td colspan="2" class="table-header"> | 
|  | <table border="0" cellpadding="0" cellspacing="0" width="100%"> | 
|  | <tr valign="top"> | 
|  | <td align="left"><span class="table-header">Static Methods</span></td> | 
|  | <td align="right" valign="top" | 
|  | ><span class="options">[<a href="#section-StaticMethods" | 
|  | class="privatelink" onclick="toggle_private();" | 
|  | >hide private</a>]</span></td> | 
|  | </tr> | 
|  | </table> | 
|  | </td> | 
|  | </tr> | 
|  | <tr> | 
|  | <td colspan="2" class="summary"> | 
|  | <p class="indent-wrapped-lines"><b>Inherited from <code>google.appengine.ext.db.Model</code></b>: | 
|  | <code>__new__</code> | 
|  | </p> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | <!-- ==================== CLASS VARIABLES ==================== --> | 
|  | <a name="section-ClassVariables"></a> | 
|  | <table class="summary" border="1" cellpadding="3" | 
|  | cellspacing="0" width="100%" bgcolor="white"> | 
|  | <tr bgcolor="#70b0f0" class="table-header"> | 
|  | <td colspan="2" class="table-header"> | 
|  | <table border="0" cellpadding="0" cellspacing="0" width="100%"> | 
|  | <tr valign="top"> | 
|  | <td align="left"><span class="table-header">Class Variables</span></td> | 
|  | <td align="right" valign="top" | 
|  | ><span class="options">[<a href="#section-ClassVariables" | 
|  | class="privatelink" onclick="toggle_private();" | 
|  | >hide private</a>]</span></td> | 
|  | </tr> | 
|  | </table> | 
|  | </td> | 
|  | </tr> | 
|  | <tr> | 
|  | <td width="15%" align="right" valign="top" class="summary"> | 
|  | <span class="summary-type"> </span> | 
|  | </td><td class="summary"> | 
|  | <a name="credentials"></a><span class="summary-name">credentials</span> = <code title="CredentialsProperty()">CredentialsProperty()</code> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="private"> | 
|  | <td width="15%" align="right" valign="top" class="summary"> | 
|  | <span class="summary-type"> </span> | 
|  | </td><td class="summary"> | 
|  | <a name="_all_properties"></a><span class="summary-name">_all_properties</span> = <code title="frozenset(['credentials'])"><code class="variable-group">frozenset([</code><code class="variable-quote">'</code><code class="variable-string">credentials</code><code class="variable-quote">'</code><code class="variable-group">])</code></code> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="private"> | 
|  | <td width="15%" align="right" valign="top" class="summary"> | 
|  | <span class="summary-type"> </span> | 
|  | </td><td class="summary"> | 
|  | <a href="oauth2client.appengine.CredentialsModel-class.html#_properties" class="summary-name" onclick="show_private();">_properties</a> = <code title="{'credentials': <oauth2client.appengine.CredentialsProperty object at \ | 
|  | 0x3a8ab10>}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">credentials</code><code class="variable-quote">'</code><code class="variable-op">: </code><oauth2client.appengine.Credenti<code class="variable-ellipsis">...</code></code> | 
|  | </td> | 
|  | </tr> | 
|  | <tr> | 
|  | <td colspan="2" class="summary"> | 
|  | <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>google.appengine.ext.db.Model</code></b> (private): | 
|  | <code>_unindexed_properties</code> | 
|  | </p></div> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | <!-- ==================== PROPERTIES ==================== --> | 
|  | <a name="section-Properties"></a> | 
|  | <table class="summary" border="1" cellpadding="3" | 
|  | cellspacing="0" width="100%" bgcolor="white"> | 
|  | <tr bgcolor="#70b0f0" class="table-header"> | 
|  | <td colspan="2" class="table-header"> | 
|  | <table border="0" cellpadding="0" cellspacing="0" width="100%"> | 
|  | <tr valign="top"> | 
|  | <td align="left"><span class="table-header">Properties</span></td> | 
|  | <td align="right" valign="top" | 
|  | ><span class="options">[<a href="#section-Properties" | 
|  | class="privatelink" onclick="toggle_private();" | 
|  | >hide private</a>]</span></td> | 
|  | </tr> | 
|  | </table> | 
|  | </td> | 
|  | </tr> | 
|  | <tr> | 
|  | <td colspan="2" class="summary"> | 
|  | <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: | 
|  | <code>__class__</code> | 
|  | </p> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | <!-- ==================== CLASS VARIABLE DETAILS ==================== --> | 
|  | <a name="section-ClassVariableDetails"></a> | 
|  | <table class="details" border="1" cellpadding="3" | 
|  | cellspacing="0" width="100%" bgcolor="white"> | 
|  | <tr bgcolor="#70b0f0" class="table-header"> | 
|  | <td colspan="2" class="table-header"> | 
|  | <table border="0" cellpadding="0" cellspacing="0" width="100%"> | 
|  | <tr valign="top"> | 
|  | <td align="left"><span class="table-header">Class Variable Details</span></td> | 
|  | <td align="right" valign="top" | 
|  | ><span class="options">[<a href="#section-ClassVariableDetails" | 
|  | class="privatelink" onclick="toggle_private();" | 
|  | >hide private</a>]</span></td> | 
|  | </tr> | 
|  | </table> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | <a name="_properties"></a> | 
|  | <div class="private"> | 
|  | <table class="details" border="1" cellpadding="3" | 
|  | cellspacing="0" width="100%" bgcolor="white"> | 
|  | <tr><td> | 
|  | <h3 class="epydoc">_properties</h3> | 
|  |  | 
|  | <dl class="fields"> | 
|  | </dl> | 
|  | <dl class="fields"> | 
|  | <dt>Value:</dt> | 
|  | <dd><table><tr><td><pre class="variable"> | 
|  | <code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">credentials</code><code class="variable-quote">'</code><code class="variable-op">: </code><oauth2client.appengine.CredentialsProperty object at <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> | 
|  | 0x3a8ab10><code class="variable-group">}</code> | 
|  | </pre></td></tr></table> | 
|  | </dd> | 
|  | </dl> | 
|  | </td></tr></table> | 
|  | </div> | 
|  | <br /> | 
|  | <!-- ==================== NAVIGATION BAR ==================== --> | 
|  | <table class="navbar" border="0" width="100%" cellpadding="0" | 
|  | bgcolor="#a0c0ff" cellspacing="0"> | 
|  | <tr valign="middle"> | 
|  |  | 
|  | <!-- Tree link --> | 
|  | <th>   <a | 
|  | href="module-tree.html">Trees</a>   </th> | 
|  |  | 
|  | <!-- Index link --> | 
|  | <th>   <a | 
|  | href="identifier-index.html">Indices</a>   </th> | 
|  |  | 
|  | <!-- Help link --> | 
|  | <th>   <a | 
|  | href="help.html">Help</a>   </th> | 
|  |  | 
|  | <th class="navbar" width="100%"></th> | 
|  | </tr> | 
|  | </table> | 
|  | <table border="0" cellpadding="0" cellspacing="0" width="100%%"> | 
|  | <tr> | 
|  | <td align="left" class="footer"> | 
|  | Generated by Epydoc 3.0.1 on Tue Jul 10 07:59:19 2012 | 
|  | </td> | 
|  | <td align="right" class="footer"> | 
|  | <a target="mainFrame" href="http://epydoc.sourceforge.net" | 
|  | >http://epydoc.sourceforge.net</a> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  |  | 
|  | <script type="text/javascript"> | 
|  | <!-- | 
|  | // Private objects are initially displayed (because if | 
|  | // javascript is turned off then we want them to be | 
|  | // visible); but by default, we want to hide them.  So hide | 
|  | // them unless we have a cookie that says to show them. | 
|  | checkCookie(); | 
|  | // --> | 
|  | </script> | 
|  | </body> | 
|  | </html> |