| 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 a nonce. | |
Set an association. | |
Inherited from SQLStore:
__init__,
__getattr__,
blobDecode,
createTables,
getAssociation,
getAuthKey,
removeAssociation,
storeAssociation,
storeNonce,
txn_createTables,
txn_getAssociation,
txn_getAuthKey,
txn_removeAssociation,
txn_storeAssociation,
txn_storeNonce,
txn_useNonce,
useNonce
Inherited from OpenIDStore:
isDumb
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
| |
| Class Variable Summary | |
|---|---|
str |
create_assoc_sql = '\n CREATE TABLE %(associations)s\...
|
str |
create_auth_sql = "INSERT INTO %(settings)s VALUES ('aut...
|
str |
create_nonce_sql = '\n CREATE TABLE %(nonces)s\n (...
|
str |
create_settings_sql = '\n CREATE TABLE %(settings)s\n...
|
str |
get_assoc_sql = 'SELECT handle, secret, issued, lifetime...
|
str |
get_assocs_sql = 'SELECT handle, secret, issued, lifetim...
|
str |
get_auth_sql = "SELECT value FROM %(settings)s WHERE set...
|
str |
get_nonce_sql = 'SELECT * FROM %(nonces)s WHERE nonce = ...
|
str |
new_assoc_sql = 'INSERT INTO %(associations)s VALUES (%%...
|
str |
new_nonce_sql = 'INSERT INTO %(nonces)s VALUES (%%s, %%s...
|
str |
remove_assoc_sql = 'DELETE FROM %(associations)s WHERE s...
|
str |
remove_nonce_sql = 'DELETE FROM %(nonces)s WHERE nonce =...
|
str |
update_assoc_sql = 'UPDATE %(associations)s SET secret =...
|
str |
update_nonce_sql = 'UPDATE %(nonces)s SET expires = %%s ...
|
Inherited from SQLStore:
associations_table,
nonces_table,
settings_table
Inherited from OpenIDStore:
AUTH_KEY_LEN
| |
| Method Details |
|---|
db_add_nonce(self, nonce, expires)Set a nonce. This is implemented as a method because REPLACE INTO is not supported by PostgreSQL (and is not standard SQL). |
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 |
|---|
create_assoc_sql
|
create_auth_sql
|
create_nonce_sql
|
create_settings_sql
|
get_assoc_sql
|
get_assocs_sql
|
get_auth_sql
|
get_nonce_sql
|
new_assoc_sql
|
new_nonce_sql
|
remove_assoc_sql
|
remove_nonce_sql
|
update_assoc_sql
|
update_nonce_sql
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jun 11 13:48:25 2007 | http://epydoc.sf.net |