public function authenticate(TokenInterface $token)
 {
     if ($token->getRequestToken() === $token->getAuthToken()) {
         return $token;
     }
     throw new AuthenticationException('The Authentication failed.');
 }