ILIAS
eassessment Revision 61809
|
Public Member Functions | |
setSQL () | |
This method should be overridden by subclasses. | |
_add_nonce ($server_url, $timestamp, $salt) | |
private | |
Public Member Functions inherited from Auth_OpenID_SQLStore | |
Auth_OpenID_SQLStore ($connection, $associations_table=null, $nonces_table=null) | |
This creates a new SQLStore instance. | |
tableExists ($table_name) | |
isError ($value) | |
Returns true if $value constitutes a database error; returns false otherwise. | |
resultToBool ($obj) | |
Converts a query result to a boolean. | |
reset () | |
Resets the store by removing all records from the store's tables. | |
_verifySQL () | |
private | |
_fixSQL () | |
private | |
blobDecode ($blob) | |
blobEncode ($str) | |
createTables () | |
create_nonce_table () | |
create_assoc_table () | |
_set_assoc ($server_url, $handle, $secret, $issued, $lifetime, $assoc_type) | |
private | |
storeAssociation ($server_url, $association) | |
This method puts an Association object into storage, retrievable by server URL and handle. | |
_get_assoc ($server_url, $handle) | |
private | |
_get_assocs ($server_url) | |
private | |
removeAssociation ($server_url, $handle) | |
This method removes the matching association if it's found, and returns whether the association was removed or not. | |
getAssociation ($server_url, $handle=null) | |
This method returns an Association object from storage that matches the server URL and, if specified, handle. | |
useNonce ($server_url, $timestamp, $salt) | |
Called when using a nonce. | |
_octify ($str) | |
"Octifies" a binary string by returning a string with escaped octal bytes. | |
_unoctify ($str) | |
"Unoctifies" octal-escaped data from PostgreSQL and returns the resulting ASCII (possibly binary) string. | |
cleanupNonces () | |
cleanupAssociations () | |
Public Member Functions inherited from Auth_OpenID_OpenIDStore | |
cleanup () | |
supportsCleanup () | |
Report whether this storage supports cleanup. |
Definition at line 19 of file SQLiteStore.php.
Auth_OpenID_SQLiteStore::_add_nonce | ( | $server_url, | |
$timestamp, | |||
$salt | |||
) |
private
Reimplemented from Auth_OpenID_SQLStore.
Definition at line 58 of file SQLiteStore.php.
References $timestamp.
Auth_OpenID_SQLiteStore::setSQL | ( | ) |
This method should be overridden by subclasses.
This method is called by the constructor to set values in $this->sql, which is an array keyed on sql name.
Reimplemented from Auth_OpenID_SQLStore.
Definition at line 20 of file SQLiteStore.php.