Please note that number, boolean, array, and object claims are not supported at this time -- only string claims are supported. An error will be thrown if you attempt to extract a non-string claim.
We should support at least number and boolean claims. Supporting object and array claims is more difficult, but we should support extracting a claim from an array or object e.g. my_claim_array[0] or my_claim_obj[some_key][some_other_key].
As indicated in the README:
We should support at least
number
andboolean
claims. Supportingobject
andarray
claims is more difficult, but we should support extracting a claim from an array or object e.g.my_claim_array[0]
ormy_claim_obj[some_key][some_other_key]
.