This is a filesystem-based store for OpenID associations and
nonces. This store should be safe for use in concurrent systems on both windows and unix (excluding NFS filesystems). There are a couple race conditions in the system, but those failure cases have been set up in such a way that the worst-case behavior is someone having to try to log in a second time.
Most of the methods of this class are implementation details. People wishing to just use this store need only pay attention to the constructor.
Located in /Auth/OpenID/FileStore.php (line 39)
Auth_OpenID_OpenIDStore | --Auth_OpenID_FileStore
Initializes a new Auth_OpenID_FileStore. This initializes the nonce and association directories, which are subdirectories of the directory passed in.
Retrieve an association. If no handle is specified, return the association with the most recent issue time.
Create a unique filename for a given server url and
handle. This implementation does not assume anything about the format of the handle. The filename that is returned will contain the domain name from the server URL for ease of human inspection of the data directory.
Remove an association if it exists. Do nothing if it does not.
Store an association in the association directory.
Return whether this nonce is present. As a side effect, mark it as no longer present.
Inherited From Auth_OpenID_OpenIDStore
Auth_OpenID_OpenIDStore::cleanup()
Auth_OpenID_OpenIDStore::cleanupAssociations()
Auth_OpenID_OpenIDStore::cleanupNonces()
Auth_OpenID_OpenIDStore::getAssociation()
Auth_OpenID_OpenIDStore::removeAssociation()
Auth_OpenID_OpenIDStore::reset()
Auth_OpenID_OpenIDStore::storeAssociation()
Auth_OpenID_OpenIDStore::supportsCleanup()
Auth_OpenID_OpenIDStore::useNonce()
Documentation generated on Thu, 29 Jul 2010 13:58:52 -0700 by phpDocumentor 1.4.3