public boolean verifyChallengeToken(InetSocketAddress address,int token){
  return Objects.equals(challengeTokens.get(address),token);
}

public boolean verifyChallengeToken ( InetSocketAddress address , int token ) { return Objects . equals ( challengeTokens . get ( address ) , token ) ; }
verify that the request is using the correct challenge token .
