Zend Framework
1.12
|
Public Member Functions | |
addAssociation ($url, $handle, $macFunc, $secret, $expires) | |
Stores information about association identified by $url/$handle. | |
getAssociation ($url, &$handle, &$macFunc, &$secret, &$expires) | |
Gets information about association identified by $url Returns true if given association found and not expired and false otherwise. | |
getAssociationByHandle ($handle, &$url, &$macFunc, &$secret, &$expires) | |
Gets information about association identified by $handle Returns true if given association found and not expired and false othverwise. | |
delAssociation ($url) | |
Deletes association identified by $url. | |
addDiscoveryInfo ($id, $realId, $server, $version, $expires) | |
Stores information discovered from identity $id. | |
getDiscoveryInfo ($id, &$realId, &$server, &$version, &$expires) | |
Gets information discovered from identity $id Returns true if such information exists and false otherwise. | |
delDiscoveryInfo ($id) | |
Removes cached information discovered from identity $id. | |
isUniqueNonce ($provider, $nonce) | |
The function checks the uniqueness of openid.response_nonce. | |
purgeNonces ($date=null) | |
Removes data from the uniqueness database that is older then given date. | |
|
abstract |
Stores information about association identified by $url/$handle.
string | $url | OpenID server URL |
string | $handle | assiciation handle |
string | $macFunc | HMAC function (sha1 or sha256) |
string | $secret | shared secret |
long | $expires | expiration UNIX time |
|
abstract |
Stores information discovered from identity $id.
string | $id | identity |
string | $realId | discovered real identity URL |
string | $server | discovered OpenID server URL |
float | $version | discovered OpenID protocol version |
long | $expires | expiration UNIX time |
|
abstract |
Deletes association identified by $url.
string | $url | OpenID server URL |
|
abstract |
Removes cached information discovered from identity $id.
string | $id | identity |
|
abstract |
Gets information about association identified by $url Returns true if given association found and not expired and false otherwise.
string | $url | OpenID server URL |
string | &$handle | assiciation handle |
string | &$macFunc | HMAC function (sha1 or sha256) |
string | &$secret | shared secret |
long | &$expires | expiration UNIX time |
|
abstract |
Gets information about association identified by $handle Returns true if given association found and not expired and false othverwise.
string | $handle | assiciation handle |
string | &$url | OpenID server URL |
string | &$macFunc | HMAC function (sha1 or sha256) |
string | &$secret | shared secret |
long | &$expires | expiration UNIX time |
|
abstract |
Gets information discovered from identity $id Returns true if such information exists and false otherwise.
string | $id | identity |
string | &$realId | discovered real identity URL |
string | &$server | discovered OpenID server URL |
float | &$version | discovered OpenID protocol version |
long | &$expires | expiration UNIX time |
|
abstract |
The function checks the uniqueness of openid.response_nonce.
string | $provider | openid.openid_op_endpoint field from authentication response |
string | $nonce | openid.response_nonce field from authentication response |
|
abstract |
Removes data from the uniqueness database that is older then given date.
string | $date | Date of expired data |