Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
External storage implemmentation using serialized files
string $_dir = ''
Directory name to store data files in
__construct(
string $dir
=
null
)
:
Constructs storage object and creates storage directory
addAssociation(
string $url, string $handle, string $macFunc, string $secret, long $expires
)
:
bool
Stores information about association identified by $url/$handle
addDiscoveryInfo(
string $id, string $realId, string $server, float $version, long $expires
)
:
bool
Stores information discovered from identity $id
delAssociation(
string $url
)
:
bool
Deletes association identified by $url
delDiscoveryInfo(
string $id
)
:
bool
Removes cached information discovered from identity $id
getAssociation(
string $url, string $handle, string $macFunc, string $secret, long $expires
)
:
bool
Gets information about association identified by $url Returns true if given association found and not expired and false otherwise
getAssociationByHandle(
string $handle, string $url, string $macFunc, string $secret, long $expires
)
:
bool
Gets information about association identified by $handle Returns true if given association found and not expired and false otherwise
getDiscoveryInfo(
string $id, string $realId, string $server, float $version, long $expires
)
:
bool
Gets information discovered from identity $id Returns true if such information exists and false otherwise
isUniqueNonce(
string $provider, string $nonce
)
:
bool
The function checks the uniqueness of openid.response_nonce
purgeNonces(
mixed $date
=
null
)
:
Removes data from the uniqueness database that is older then given date