ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
setSQL () | |
private | |
_set_assoc ($server_url, $handle, $secret, $issued, $lifetime, $assoc_type) | |
private | |
blobEncode ($blob) | |
private | |
blobDecode ($blob) | |
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 | |
createTables () | |
create_nonce_table () | |
create_assoc_table () | |
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. | |
_add_nonce ($server_url, $timestamp, $salt) | |
private | |
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 PostgreSQLStore.php.
Auth_OpenID_PostgreSQLStore::_set_assoc | ( | $server_url, | |
$handle, | |||
$secret, | |||
$issued, | |||
$lifetime, | |||
$assoc_type | |||
) |
private
Reimplemented from Auth_OpenID_SQLStore.
Definition at line 78 of file PostgreSQLStore.php.
References $result, and Auth_OpenID_SQLStore\_get_assoc().
Auth_OpenID_PostgreSQLStore::blobDecode | ( | $blob | ) |
private
Reimplemented from Auth_OpenID_SQLStore.
Definition at line 107 of file PostgreSQLStore.php.
References Auth_OpenID_SQLStore\_unoctify().
Auth_OpenID_PostgreSQLStore::blobEncode | ( | $blob | ) |
private
Reimplemented from Auth_OpenID_SQLStore.
Definition at line 99 of file PostgreSQLStore.php.
References Auth_OpenID_SQLStore\_octify().
Auth_OpenID_PostgreSQLStore::setSQL | ( | ) |
private
Reimplemented from Auth_OpenID_SQLStore.
Definition at line 23 of file PostgreSQLStore.php.