code: public JwtBuilder claim(Map<String, Object> map)
              throws InvalidClaimException {
          //        if (map == null) {
          //            String err = Tr.formatMessage(tc, "JWT_INVALID_CLAIMS_ERR");// "JWT_INVALID_CLAIMS_ERR";
          //            throw new InvalidClaimException(err);
          //        }
          builder = builder.claim(map);
          return this;
          //return copyClaimsMap(map);
          // claims.putAll(map);
          // return this;
      }
docs: Sets the specified claims.
  
  @param map
  This is a Map and represents the collection of claim name and claim value pairs to be set in the JWT.
  
  @return {@code JwtBuilder} object
  @throws InvalidClaimException
  Thrown if the claim is {@code null}, or the value is {@code null} or the value is not the correct type for the
  claim