Class JWT.Claim

  • Enclosing class:
    JWT

    public static class JWT.Claim
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) jakarta.json.JsonValue value  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> asList()
      Get this Claim as a List of Strings.
      java.lang.String asString()
      Get this Claim as a String.
      boolean isNull()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        final jakarta.json.JsonValue value
    • Method Detail

      • asString

        public java.lang.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 java.util.List<java.lang.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()