diff options
author | tailor <me@arty.name> | 2008-02-02 19:47:09 +0000 |
---|---|---|
committer | tailor <me@arty.name> | 2008-02-02 19:47:09 +0000 |
commit | ae4e3f1cf0c475373faef7fc9df5cf2c865affcd (patch) | |
tree | 860e7ff1806c8a74410cb8ed100ebd8ad1e8afc0 /Auth/OpenID/Interface.php | |
parent | 20ab579497a3df8f81a0bfb2607238a31b0b2b1b (diff) | |
download | php-openid-ae4e3f1cf0c475373faef7fc9df5cf2c865affcd.zip php-openid-ae4e3f1cf0c475373faef7fc9df5cf2c865affcd.tar.gz php-openid-ae4e3f1cf0c475373faef7fc9df5cf2c865affcd.tar.bz2 |
[project @ Implementation of Memcached storage in PHP. This patch also includes supportsCleanup() function for OpenIDStore interface, as memcache doesn't allow ]
enumeration of all keys used (and cleans itself).
Also included test for memcached storage and support for supportsCleanup() in test functions.
Diffstat (limited to 'Auth/OpenID/Interface.php')
-rw-r--r-- | Auth/OpenID/Interface.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Auth/OpenID/Interface.php b/Auth/OpenID/Interface.php index eeb130a..38fe369 100644 --- a/Auth/OpenID/Interface.php +++ b/Auth/OpenID/Interface.php @@ -94,6 +94,14 @@ class Auth_OpenID_OpenIDStore { } /** + * Report whether this storage supports cleanup + */ + function supportsCleanup() + { + return true; + } + + /** * This method returns an Association object from storage that * matches the server URL and, if specified, handle. It returns * null if no such association is found or if the matching |