code: @Deprecated
      public static JwtClaims verifyJwt(String jwt, boolean ignoreExpiry) throws InvalidJwtException, ExpiredTokenException {
          return verifyJwt(jwt, ignoreExpiry, true);
      }
docs: Verify JWT token format and signature. If ignoreExpiry is true, skip expiry verification, otherwise
  verify the expiry before signature verification.
  
  In most cases, we need to verify the expiry of the jwt token. The only time we need to ignore expiry
  verification is in SPA middleware handlers which need to verify csrf token in jwt against the csrf
  token in the request header to renew the expired token.
  
  @param jwt String of Json web token
  @param ignoreExpiry If true, don't verify if the token is expired.
  @return JwtClaims object
  @throws InvalidJwtException InvalidJwtException
  @throws ExpiredTokenException ExpiredTokenException
  @deprecated Use verifyToken instead.