Package com.ibm.fhir.smart
Class JWT.Claim
- java.lang.Object
-
- com.ibm.fhir.smart.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()
-
-
-
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()
-
-