예제 #1
0
파일: Auth.php 프로젝트: spryker/Auth
 /**
  * @return void
  */
 public function logout()
 {
     $token = $this->getCurrentUserToken();
     $key = $this->getSessionKey($token);
     $this->session->remove($key);
     $this->session->migrate();
 }
예제 #2
0
 /**
  * @return void
  */
 public function logout()
 {
     $this->sessionClient->remove(self::SESSION_KEY);
 }