summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/Interface.php
diff options
context:
space:
mode:
authortailor <me@arty.name>2008-02-02 19:47:09 +0000
committertailor <me@arty.name>2008-02-02 19:47:09 +0000
commitae4e3f1cf0c475373faef7fc9df5cf2c865affcd (patch)
tree860e7ff1806c8a74410cb8ed100ebd8ad1e8afc0 /Auth/OpenID/Interface.php
parent20ab579497a3df8f81a0bfb2607238a31b0b2b1b (diff)
downloadphp-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.php8
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