/**
  * Reset state of OAuth authentication.
  */
 public function reset()
 {
     /** @var Grav\Common\Session */
     $session = $this->grav['session'];
     unset($session->oauth);
     $this->storage->clearAllTokens();
     $this->storage->clearAllAuthorizationStates();
 }
 public function logout()
 {
     $storage = new Session();
     $storage->clearAllTokens();
     $storage->clearAllAuthorizationStates();
 }