|
ILIAS
release_4-4 Revision
|
Inheritance diagram for Auth_OpenID_MemcachedStore:
Collaboration diagram for Auth_OpenID_MemcachedStore:Public Member Functions | |
| Auth_OpenID_MemcachedStore ($connection, $compress=false) | |
| Initializes a new Auth_OpenID_MemcachedStore instance. More... | |
| storeAssociation ($server_url, $association) | |
| Store association until its expiration time in memcached. More... | |
| getAssociation ($server_url, $handle=null) | |
| Read association from memcached. More... | |
| removeAssociation ($server_url, $handle) | |
| Immediately delete association from memcache. More... | |
| useNonce ($server_url, $timestamp, $salt) | |
| Create nonce for server and salt, expiring after $Auth_OpenID_SKEW seconds. More... | |
| associationKey ($server_url, $handle=null) | |
| Memcache key is prefixed with 'openid_association_' string. More... | |
| associationServerKey ($server_url) | |
| Memcache key is prefixed with 'openid_association_' string. More... | |
| supportsCleanup () | |
| Report that this storage doesn't support cleanup. More... | |
Public Member Functions inherited from Auth_OpenID_OpenIDStore | |
| 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... | |
Definition at line 36 of file MemcachedStore.php.
| Auth_OpenID_MemcachedStore::associationKey | ( | $server_url, | |
$handle = null |
|||
| ) |
Memcache key is prefixed with 'openid_association_' string.
Definition at line 186 of file MemcachedStore.php.
Referenced by getAssociation(), removeAssociation(), and storeAssociation().
Here is the caller graph for this function:| Auth_OpenID_MemcachedStore::associationServerKey | ( | $server_url | ) |
Memcache key is prefixed with 'openid_association_' string.
Definition at line 194 of file MemcachedStore.php.
Referenced by getAssociation(), removeAssociation(), and storeAssociation().
Here is the caller graph for this function:| Auth_OpenID_MemcachedStore::Auth_OpenID_MemcachedStore | ( | $connection, | |
$compress = false |
|||
| ) |
Initializes a new Auth_OpenID_MemcachedStore instance.
Just saves memcached object as property.
| resource | connection Memcache connection resourse |
Definition at line 44 of file MemcachedStore.php.
| Auth_OpenID_MemcachedStore::getAssociation | ( | $server_url, | |
$handle = null |
|||
| ) |
Read association from memcached.
If no handle given and multiple associations found, returns latest issued
Definition at line 91 of file MemcachedStore.php.
References associationKey(), and associationServerKey().
Here is the call graph for this function:| Auth_OpenID_MemcachedStore::removeAssociation | ( | $server_url, | |
| $handle | |||
| ) |
Immediately delete association from memcache.
Definition at line 125 of file MemcachedStore.php.
References associationKey(), and associationServerKey().
Here is the call graph for this function:| Auth_OpenID_MemcachedStore::storeAssociation | ( | $server_url, | |
| $association | |||
| ) |
Store association until its expiration time in memcached.
Overwrites any existing association with same server_url and handle. Handles list of associations for every server.
Definition at line 55 of file MemcachedStore.php.
References associationKey(), and associationServerKey().
Here is the call graph for this function:| Auth_OpenID_MemcachedStore::supportsCleanup | ( | ) |
Report that this storage doesn't support cleanup.
Definition at line 202 of file MemcachedStore.php.
| Auth_OpenID_MemcachedStore::useNonce | ( | $server_url, | |
| $timestamp, | |||
| $salt | |||
| ) |
Create nonce for server and salt, expiring after $Auth_OpenID_SKEW seconds.
Definition at line 165 of file MemcachedStore.php.
References $Auth_OpenID_SKEW, and $timestamp.