Class JWT.Claim

  • Enclosing class:
    JWT

    public static class JWT.Claim
    extends Object
    • Field Detail

      • value

        final jakarta.json.JsonValue value
    • Method Detail

      • asString

        public String asString()
        Get this Claim as a String. If the value isn't of type String or it can't be converted to a String, null will be returned.
      • asList

        public List<String> asList()
        Get this Claim as a List of Strings. If the value isn't an Array, null will be returned.
      • isNull

        public boolean isNull()