| Home | Trees | Index | Help |
|
|---|
| Package openid :: Package store :: Module sqlstore :: Class PostgreSQLStore |
|
object--+ |OpenIDStore--+ |SQLStore--+ | PostgreSQLStore
This is a PostgreSQL-based specialization of .SQLStore
To create an instance, see . To create the
tables it will use, see SQLStore.__init__.SQLStore.createTables
| Method Summary | |
|---|---|
blobEncode(self,
blob)
| |
Set an association. | |
Inherited from SQLStore:
__init__,
__getattr__,
blobDecode,
cleanupAssociations,
cleanupNonces,
createTables,
getAssociation,
removeAssociation,
storeAssociation,
txn_cleanupAssociations,
txn_cleanupNonces,
txn_createTables,
txn_getAssociation,
txn_removeAssociation,
txn_storeAssociation,
txn_useNonce,
useNonce
Inherited from OpenIDStore:
cleanup
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
| |
| Class Variable Summary | |
|---|---|
str |
add_nonce_sql = 'INSERT INTO %(nonces)s VALUES (%%s, %%s...
|
str |
clean_assoc_sql = 'DELETE FROM %(associations)s WHERE is...
|
str |
clean_nonce_sql = 'DELETE FROM %(nonces)s WHERE timestam...
|
str |
create_assoc_sql = '\n CREATE TABLE %(associations)s\...
|
str |
create_nonce_sql = '\n CREATE TABLE %(nonces)s (\n ...
|
str |
get_assoc_sql = 'SELECT handle, secret, issued, lifetime...
|
str |
get_assocs_sql = 'SELECT handle, secret, issued, lifetim...
|
str |
get_expired_sql = 'SELECT server_url FROM %(associations...
|
str |
new_assoc_sql = 'INSERT INTO %(associations)s VALUES (%%...
|
str |
remove_assoc_sql = 'DELETE FROM %(associations)s WHERE s...
|
str |
update_assoc_sql = 'UPDATE %(associations)s SET secret =...
|
Inherited from SQLStore:
associations_table,
nonces_table
| |
| Method Details |
|---|
db_set_assoc(self, server_url, handle, secret, issued, lifetime, assoc_type)Set an association. This is implemented as a method because REPLACE INTO is not supported by PostgreSQL (and is not standard SQL). |
| Class Variable Details |
|---|
add_nonce_sql
|
clean_assoc_sql
|
clean_nonce_sql
|
create_nonce_sql
|
get_assoc_sql
|
get_assocs_sql
|
get_expired_sql
|
new_assoc_sql
|
remove_assoc_sql
|
update_assoc_sql
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Jun 27 15:48:22 2008 | http://epydoc.sf.net |