Home | Trees | Index | Help |
|
---|
Package openid :: Package store :: Module sqlstore :: Class SQLiteStore |
|
object
--+ |OpenIDStore
--+ |SQLStore
--+ | SQLiteStore
This is an SQLite-based specialization of
.SQLStore
To create an instance, see
. To create the
tables it will use, see SQLStore.__init__
.SQLStore.createTables
Method Summary | |
---|---|
blobDecode(self,
buf)
| |
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. | |
Inherited from SQLStore :
__init__ ,
__getattr__ ,
cleanupAssociations ,
cleanupNonces ,
createTables ,
getAssociation ,
removeAssociation ,
storeAssociation ,
txn_cleanupAssociations ,
txn_cleanupNonces ,
txn_createTables ,
txn_getAssociation ,
txn_removeAssociation ,
txn_storeAssociation ,
txn_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 (?, ?, ?)...
|
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 |
remove_assoc_sql = 'DELETE FROM %(associations)s WHERE s...
|
str |
set_assoc_sql = 'INSERT OR REPLACE INTO %(associations)s...
|
Inherited from SQLStore :
associations_table ,
nonces_table
|
Method Details |
---|
blobEncode(self, s)Convert a str object into the necessary object for storing in the database as a blob.
|
useNonce(self, *args, **kwargs)Return whether this nonce is present, and if it is, then remove it from the set. str -> bool
|
Class Variable Details |
---|
add_nonce_sql
|
clean_assoc_sql
|
clean_nonce_sql
|
create_assoc_sql
|
create_nonce_sql
|
get_assoc_sql
|
get_assocs_sql
|
get_expired_sql
|
remove_assoc_sql
|
set_assoc_sql
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed Apr 22 16:14:20 2009 | http://epydoc.sf.net |