Abstract class to implement external storage for OpenID consumer
category | Zend |
---|---|
package | Zend_OpenId |
subpackage | Zend_OpenId_Consumer |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
addAssociation(string $url, string $handle, string $macFunc, string $secret, \long $expires) : void
string
OpenID server URL
string
assiciation handle
string
HMAC function (sha1 or sha256)
string
shared secret
\long
expiration UNIX time
addDiscoveryInfo(string $id, string $realId, string $server, float $version, \long $expires) : void
string
identity
string
discovered real identity URL
string
discovered OpenID server URL
float
discovered OpenID protocol version
\long
expiration UNIX time
delAssociation(string $url) : void
string
OpenID server URL
delDiscoveryInfo(string $id) : boolean
string
identity
boolean
getAssociation(string $url, $handle, $macFunc, $secret, $expires) : boolean
string
OpenID server URL
boolean
getAssociationByHandle(string $handle, $url, $macFunc, $secret, $expires) : boolean
string
assiciation handle
boolean
getDiscoveryInfo(string $id, $realId, $server, $version, $expires) : boolean
string
identity
boolean
isUniqueNonce(string $provider, string $nonce) : boolean
string
openid.openid_op_endpoint field from authentication response
string
openid.response_nonce field from authentication response
boolean
purgeNonces(string $date = null
)
string
Date of expired data