public abstract class JWTClaim extends JSONParsable
Constructor and Description |
---|
JWTClaim()
Base empty constructor
|
JWTClaim(javax.json.JsonObject jsonObject)
JSON Parseable constructor
|
JWTClaim(org.jose4j.jwt.JwtClaims jwtClaims)
Constructor populating the value object from a the claimName in jwtClaims.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getClaimName() |
add, addB58, addNotRequired, addNotRequiredB58, convertToJson, getBoolean, getBooleanIfSet, getByteArrayFromB58, getByteArrayFromB58IfSet, getByteArrayFromB64, getByteArrayFromB64IfSet, getByteArrayFromHex, getByteArrayFromHexIfSet, getDate, getDateIfSet, getDouble, getDoubleIfSet, getInt, getIntIfSet, getJsonArray, getJsonArrayIfSet, getJsonObject, getJsonObjectIfSet, getLong, getLongIfSet, getString, getStringIfSet, parseJson, toJson, toJsonAsString, toString
public JWTClaim()
public JWTClaim(javax.json.JsonObject jsonObject) throws javax.json.JsonException
jsonObject
- the jsonObject to parsejavax.json.JsonException
- if problems occurred parsing the JWT claim.public JWTClaim(org.jose4j.jwt.JwtClaims jwtClaims)
jwtClaims
- the jwtClaims inside a JWT Token.