|
| setSQL () |
| private More...
|
|
| blobEncode ($blob) |
| private More...
|
|
| Auth_OpenID_SQLStore ($connection, $associations_table=null, $nonces_table=null) |
| This creates a new SQLStore instance. More...
|
|
| tableExists ($table_name) |
|
| isError ($value) |
| Returns true if $value constitutes a database error; returns false otherwise. More...
|
|
| resultToBool ($obj) |
| Converts a query result to a boolean. More...
|
|
| setSQL () |
| This method should be overridden by subclasses. More...
|
|
| reset () |
| Resets the store by removing all records from the store's tables. More...
|
|
| _verifySQL () |
| private More...
|
|
| _fixSQL () |
| private More...
|
|
| blobDecode ($blob) |
|
| blobEncode ($str) |
|
| createTables () |
|
| create_nonce_table () |
|
| create_assoc_table () |
|
| _set_assoc ($server_url, $handle, $secret, $issued, $lifetime, $assoc_type) |
| private More...
|
|
| storeAssociation ($server_url, $association) |
|
| _get_assoc ($server_url, $handle) |
| private More...
|
|
| _get_assocs ($server_url) |
| private More...
|
|
| removeAssociation ($server_url, $handle) |
|
| getAssociation ($server_url, $handle=null) |
|
| _add_nonce ($server_url, $timestamp, $salt) |
| private More...
|
|
| useNonce ($server_url, $timestamp, $salt) |
|
| _octify ($str) |
| "Octifies" a binary string by returning a string with escaped octal bytes. More...
|
|
| _unoctify ($str) |
| "Unoctifies" octal-escaped data from PostgreSQL and returns the resulting ASCII (possibly binary) string. More...
|
|
| cleanupNonces () |
|
| cleanupAssociations () |
|
| storeAssociation ($server_url, $association) |
| This method puts an Association object into storage, retrievable by server URL and handle. More...
|
|
| cleanupNonces () |
|
| cleanupAssociations () |
|
| cleanup () |
|
| supportsCleanup () |
| Report whether this storage supports cleanup. More...
|
|
| getAssociation ($server_url, $handle=null) |
| This method returns an Association object from storage that matches the server URL and, if specified, handle. More...
|
|
| removeAssociation ($server_url, $handle) |
| This method removes the matching association if it's found, and returns whether the association was removed or not. More...
|
|
| useNonce ($server_url, $timestamp, $salt) |
| Called when using a nonce. More...
|
|
| reset () |
| Removes all entries from the store; implementation is optional. More...
|
|