/**
  * {@inheritdoc}
  */
 public function removeToken(Request $request, Response $response, TokenInterface $token)
 {
     if (!$token instanceof SessionToken) {
         throw new InvalidTokenException("Only session tokens are allowed");
     }
     $this->session->delete($this->key);
     return $response;
 }
 /**
  * {@inheritdoc}
  */
 public function removeToken(Request $request, Response $response, TokenInterface $token)
 {
     $this->session->delete($this->key);
     return $response;
 }