| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
This file supplies a memcached store backend for OpenID servers and consumers. PHP versions 4 and 5
| Author: | Artemy Tregubenko <me@arty.name> |
| Copyright: | 2008 JanRain, Inc. |
| License: | http://www.apache.org/licenses/LICENSE-2.0 Apache |
| File Size: | 211 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Auth_OpenID_MemcachedStore:: (8 methods):
Auth_OpenID_MemcachedStore()
storeAssociation()
getAssociation()
removeAssociation()
useNonce()
associationKey()
associationServerKey()
supportsCleanup()
Class: Auth_OpenID_MemcachedStore - X-Ref
This is a memcached-based store for OpenID associations and| Auth_OpenID_MemcachedStore($connection, $compress = false) X-Ref |
| Initializes a new {@link Auth_OpenID_MemcachedStore} instance. Just saves memcached object as property. param: resource connection Memcache connection resourse |
| storeAssociation($server_url, $association) X-Ref |
| 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. |
| getAssociation($server_url, $handle = null) X-Ref |
| Read association from memcached. If no handle given and multiple associations found, returns latest issued |
| removeAssociation($server_url, $handle) X-Ref |
| Immediately delete association from memcache. |
| useNonce($server_url, $timestamp, $salt) X-Ref |
| Create nonce for server and salt, expiring after $Auth_OpenID_SKEW seconds. |
| associationKey($server_url, $handle = null) X-Ref |
| Memcache key is prefixed with 'openid_association_' string. |
| associationServerKey($server_url) X-Ref |
| Memcache key is prefixed with 'openid_association_' string. |
| supportsCleanup() X-Ref |
| Report that this storage doesn't support cleanup |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |