clearAuth() public méthode

Clears any authentication tokens in the current session.
public clearAuth ( boolean $destroy = true )
$destroy boolean Destroy the session?
Exemple #1
0
 /**
  * Clear the authentication and destroy the current session.
  */
 public function clearAuth()
 {
     $this->_registry->clearAuth(true);
 }