Vaskovsky Web Application
3.17.0306
|
An abstract authentication. More...
Public Member Functions | |
authenticate () | |
Performs authentication. More... | |
getAccountAttribute ($name) | |
Returns an account attribute. More... | |
getPasswordHash ($password) | |
Creates a new password hash. More... | |
signOut () | |
Signs out. More... | |
An abstract authentication.
Definition at line 23 of file AbstractAuthentication.php.
AVaskovsky\WebApplication\AbstractAuthentication::authenticate | ( | ) |
Performs authentication.
Implemented in AVaskovsky\WebApplication\BasicAuthentication.
AVaskovsky\WebApplication\AbstractAuthentication::getAccountAttribute | ( | $name | ) |
Returns an account attribute.
This method performs authentication if user is not authenticated yet, loads account attributes and returns a value of the specified attribute.
string | $name | is an attribute name. |
InvalidArgumentException | if $name is empty. |
Implemented in AVaskovsky\WebApplication\BasicAuthentication.
AVaskovsky\WebApplication\AbstractAuthentication::getPasswordHash | ( | $password | ) |
Creates a new password hash.
string | $password | is a password string. |
InvalidArgumentException | if $password is null. |
Implemented in AVaskovsky\WebApplication\BasicAuthentication.
AVaskovsky\WebApplication\AbstractAuthentication::signOut | ( | ) |