$sessionManager
$sessionManager : \AclUser\Service\Zend\Session\SessionManager
Session manager.
The AuthManager service is responsible for user's login/logout and simple access filtering. The access filtering feature checks whether the current visitor is allowed to see the given page or not.
login(string $email, string $password, boolean $rememberMe = false) : \AclUser\Service\Zend\Authentication\Result
Performs a login attempt. If $rememberMe argument is true, it forces the session to last for one month (otherwise the session expires on one hour).
| string | ||
| string | $password | |
| boolean | $rememberMe |
object that carries message and boolean success
loginUser(\AclUser\Entity\User $user)
Login user after we are sure there is one
| \AclUser\Entity\User | $user |
validateLoginForm(\AclUser\Service\AclUser\Form\LoginForm $form, array $params) : \AclUser\Service\Zend\Authentication\Result
Validate login form and assign values to result object
| \AclUser\Service\AclUser\Form\LoginForm | $form | |
| array | $params |