Hi, I'm exploring the wiremock-jwt-extension, and ...
# help
b
Hi, I'm exploring the wiremock-jwt-extension, and I see that there is a ClaimListHandlebarsHelper.java which is not mentioned in the readme. As I see, based on the implementation it's supposed to be used as
{{{claims claim1, claim2, ...}}}
, esentially with 0-inf. number of parameters. Is that correct?
t
It’s really only intended for array claims, which are valid in JWT. so you’d do something like:
Copy code
{{{jwt
  myItems=(claims 'one' 'two' 'three')
}}}
It’s actually redundant now as it does the same thing as
array
b
Thanks. And yeah, you are right, it does the same as
array
.