|
|
db_set_assoc(self,
server_url,
handle,
secret,
issued,
lifetime,
assoc_type)
Set an association.
|
|
|
db_add_nonce(self,
nonce,
expires)
Set a nonce.
|
|
|
blobEncode(self,
blob)
Convert a str object into the necessary object for storing in the
database as a blob.
|
|
Inherited from SQLStore:
__getattr__,
__init__,
blobDecode,
createTables,
getAssociation,
getAuthKey,
removeAssociation,
storeAssociation,
storeNonce,
txn_createTables,
txn_getAssociation,
txn_getAuthKey,
txn_removeAssociation,
txn_storeAssociation,
txn_storeNonce,
txn_useNonce,
useNonce
Inherited from interface.OpenIDStore:
isDumb
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
|
create_nonce_sql = '\n CREATE TABLE %(nonces)s\n (\n nonce CHAR(8) UNIQ...
|
|
|
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(...
|
|
|
create_auth_sql = "INSERT INTO %(settings)s VALUES ('auth_key', %%s);"
|
|
|
get_auth_sql = "SELECT value FROM %(settings)s WHERE setting = 'aut...
|
|
|
new_assoc_sql = 'INSERT INTO %(associations)s VALUES (%%s, %%s, %%s,...
|
|
|
update_assoc_sql = 'UPDATE %(associations)s SET secret = %%s, issued = ...
|
|
|
get_assocs_sql = 'SELECT handle, secret, issued, lifetime, assoc_type...
|
|
|
get_assoc_sql = 'SELECT handle, secret, issued, lifetime, assoc_type...
|
|
|
remove_assoc_sql = 'DELETE FROM %(associations)s WHERE server_url = %%s...
|
|
|
update_nonce_sql = 'UPDATE %(nonces)s SET expires = %%s WHERE nonce = %...
|
|
|
new_nonce_sql = 'INSERT INTO %(nonces)s VALUES (%%s, %%s);'
|
|
|
get_nonce_sql = 'SELECT * FROM %(nonces)s WHERE nonce = %%s;'
|
|
|
remove_nonce_sql = 'DELETE FROM %(nonces)s WHERE nonce = %%s;'
|
|
Inherited from SQLStore:
associations_table,
nonces_table,
settings_table
Inherited from interface.OpenIDStore:
AUTH_KEY_LEN
|