public class JwtClaimsSet extends Object
JSON Web Token Claim Set.
| Constructor and Description |
|---|
JwtClaimsSet(String token)
Create a JWT claim set from a token string.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getClaim(String jwk)
Return the claim for the key.
|
Date |
getExpirationTime()
Return the JWT expiration time
|
String |
getStringClaim(String jwk)
Return the string claim for the key.
|
public JwtClaimsSet(String token)
Create a JWT claim set from a token string.
token - token string (must be non-null and not empty)public Date getExpirationTime()
Return the JWT expiration time
public String getStringClaim(String jwk) throws ParseException
Return the string claim for the key.
jwk - key for the claimParseException - if not a stringCopyright © 2016–2022. All rights reserved.