Home | Trees | Indices | Help |
|
---|
|
object --+ | interface.OpenIDStore --+ | SQLStore --+ | SQLiteStore
This is an SQLite-based specialization of SQLStore
.
To create an instance, see SQLStore.__init__
. To create the tables it will
use, see SQLStore.createTables
.
|
|||
blobDecode(self,
buf) Convert a blob as returned by the SQL engine into a str object. |
|||
blobEncode(self,
s) Convert a str object into the necessary object for storing in the database as a blob. |
|||
bool
|
useNonce(self,
*args,
**kwargs) Return whether this nonce is present, and if it is, then remove it from the set. |
||
Inherited from Inherited from Inherited from |
|
|||
create_nonce_sql = '\n CREATE TABLE %(nonces)s (\n server_url VARCHAR,\...
|
|||
create_assoc_sql = '\n CREATE TABLE %(associations)s\n (\n server_url V...
|
|||
create_settings_sql = '\n CREATE TABLE %(settings)s\n (\n setting VARCHAR(...
|
|||
set_assoc_sql = 'INSERT OR REPLACE INTO %(associations)s VALUES (?, ...
|
|||
get_assocs_sql = 'SELECT handle, secret, issued, lifetime, assoc_type...
|
|||
get_assoc_sql = 'SELECT handle, secret, issued, lifetime, assoc_type...
|
|||
get_expired_sql = 'SELECT server_url FROM %(associations)s WHERE issue...
|
|||
remove_assoc_sql = 'DELETE FROM %(associations)s WHERE server_url = ? A...
|
|||
clean_assoc_sql = 'DELETE FROM %(associations)s WHERE issued + lifetim...
|
|||
add_nonce_sql = 'INSERT INTO %(nonces)s VALUES (?, ?, ?);'
|
|||
clean_nonce_sql = 'DELETE FROM %(nonces)s WHERE timestamp < ?;'
|
|||
Inherited from |
|
|||
Inherited from |
|
Convert a blob as returned by the SQL engine into a str object. str -> str
|
Convert a str object into the necessary object for storing in the database as a blob.
|
Return whether this nonce is present, and if it is, then remove it from the set. str -> bool
|
|
create_nonce_sql
|
create_assoc_sql
|
create_settings_sql
|
set_assoc_sql
|
get_assocs_sql
|
get_assoc_sql
|
get_expired_sql
|
remove_assoc_sql
|
clean_assoc_sql
|
add_nonce_sql
|
clean_nonce_sql
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Jun 22 21:41:46 2007 | http://epydoc.sourceforge.net |