public function onLogout(WordpressEvent $event)
    {
        $this->session->clear();
        $this->tokenStorage->setToken(null);
    }
public function onLogout(WordpressEvent $event)
    {
        $this->session->clear();
        $this->tokenStorage->setToken(null);
    }
public function onLogout ( WordpressEvent $ event ) { $ this -> session -> clear ( ) ; $ this -> tokenStorage -> setToken ( null ) ; }
Wordpress user log out hook method.

@param WordpressEvent $event

@see http://codex.wordpress.org/Plugin_API/Action_Reference/wp_logout
Wordpress user log out hook method .