/** @return bool */
 private function isUserChangeState()
 {
     if (!$this->userStorage->isAuthenticated()) {
         return $this->sessionStorage->checkLogout();
     }
     $this->sessionStorage->login();
     return FALSE;
 }
 function isAuthenticated()
 {
     return $this->innerUserStorage->isAuthenticated();
 }
Beispiel #3
0
 /**
  * @return IIdentity
  */
 public function getIdentity()
 {
     return $this->storage->isAuthenticated() ? $this->storage->getIdentity() : null;
 }