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