Logo Search packages:      
Sourcecode: python-openid version File versions

openid::store::sqlstore::PostgreSQLStore Class Reference

Inheritance diagram for openid::store::sqlstore::PostgreSQLStore:

openid::store::sqlstore::SQLStore openid::store::interface::OpenIDStore

List of all members.


Detailed Description

This is a PostgreSQL-based specialization of C{L{SQLStore}}.

To create an instance, see C{L{SQLStore.__init__}}.  To create the
tables it will use, see C{L{SQLStore.createTables}}.

All other methods are implementation details.

Definition at line 434 of file sqlstore.py.


Public Member Functions

def __getattr__
def __init__
def blobDecode
def blobEncode
def cleanup
def cleanupAssociations
def cleanupNonces
def db_set_assoc
def getAssociation
def removeAssociation
def storeAssociation
def txn_cleanupAssociations
def txn_cleanupNonces
def txn_createTables
def txn_getAssociation
def txn_removeAssociation
def txn_storeAssociation
def txn_useNonce
def useNonce

Public Attributes

 conn
 cur
 max_nonce_age

Static Public Attributes

string add_nonce_sql = 'INSERT INTO %(nonces)s VALUES (%%s, %%s, %%s);'
string associations_table = 'oid_associations'
string clean_assoc_sql = 'DELETE FROM %(associations)s WHERE issued + lifetime < %%s;'
string clean_nonce_sql = 'DELETE FROM %(nonces)s WHERE timestamp < %%s;'
tuple cleanupAssociations = _inTxn(txn_cleanupAssociations)
tuple cleanupNonces = _inTxn(txn_cleanupNonces)
string create_assoc_sql
string create_nonce_sql
string create_settings_sql
tuple createTables = _inTxn(txn_createTables)
tuple get_assoc_sql
tuple get_assocs_sql
tuple get_expired_sql
tuple getAssociation = _inTxn(txn_getAssociation)
tuple new_assoc_sql
string nonces_table = 'oid_nonces'
tuple remove_assoc_sql
tuple removeAssociation = _inTxn(txn_removeAssociation)
string settings_table = 'oid_settings'
tuple storeAssociation = _inTxn(txn_storeAssociation)
tuple update_assoc_sql
tuple useNonce = _inTxn(txn_useNonce)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index