Zend Framework
1.12
|
Public Member Functions | |
addAssociation ($handle, $macFunc, $secret, $expires) | |
Stores information about session identified by $handle. | |
getAssociation ($handle, &$macFunc, &$secret, &$expires) | |
Gets information about association identified by $handle Returns true if given association found and not expired and false otherwise. | |
addUser ($id, $password) | |
Register new user with given $id and $password Returns true in case of success and false if user with given $id already exists. | |
hasUser ($id) | |
Returns true if user with given $id exists and false otherwise. | |
checkUser ($id, $password) | |
Verify if user with given $id exists and has specified $password. | |
getTrustedSites ($id) | |
Returns array of all trusted/untrusted sites for given user identified by $id. | |
addSite ($id, $site, $trusted) | |
Stores information about trusted/untrusted site for given user. | |
|
abstract |
Stores information about session identified by $handle.
string | $handle | assiciation handle |
string | $macFunc | HMAC function (sha1 or sha256) |
string | $secret | shared secret |
string | $expires | expiration UNIX time |
|
abstract |
Stores information about trusted/untrusted site for given user.
string | $id | user identity URL |
string | $site | site URL |
mixed | $trusted | trust data from extensions or just a boolean value |
|
abstract |
Register new user with given $id and $password Returns true in case of success and false if user with given $id already exists.
string | $id | user identity URL |
string | $password | encoded user password |
|
abstract |
Verify if user with given $id exists and has specified $password.
string | $id | user identity URL |
string | $password | user password |
|
abstract |
Gets information about association identified by $handle Returns true if given association found and not expired and false otherwise.
string | $handle | assiciation handle |
string | &$macFunc | HMAC function (sha1 or sha256) |
string | &$secret | shared secret |
string | &$expires | expiration UNIX time |
|
abstract |
Returns array of all trusted/untrusted sites for given user identified by $id.
string | $id | user identity URL |
|
abstract |
Returns true if user with given $id exists and false otherwise.
string | $id | user identity URL |