Package com.oracle.bmc.auth.internal
Class JwtClaimsSet
- java.lang.Object
- 
- com.oracle.bmc.auth.internal.JwtClaimsSet
 
- 
 public class JwtClaimsSet extends Object JSON Web Token Claim Set.
- 
- 
Constructor SummaryConstructors Constructor Description JwtClaimsSet(String token)Create a JWT claim set from a token string.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetClaim(String name)Return the claim for the key.DategetExpirationTime()Return the JWT expiration timeMap<String,Object>getHeader()DategetIssueTime()Return the JWT issued timeMap<String,Object>getPayload()StringgetSignature()StringgetStringClaim(String name)Return the string claim for the key.
 
- 
- 
- 
Constructor Detail- 
JwtClaimsSetpublic JwtClaimsSet(String token) Create a JWT claim set from a token string.- Parameters:
- token- token string (must be non-null and not empty)
 
 
- 
 - 
Method Detail- 
getSignaturepublic String getSignature() 
 - 
getExpirationTimepublic Date getExpirationTime() Return the JWT expiration time- Returns:
- expiration time
 
 - 
getIssueTimepublic Date getIssueTime() Return the JWT issued time- Returns:
- issued time
 
 - 
getStringClaimpublic String getStringClaim(String name) throws ParseException Return the string claim for the key.- Parameters:
- name- key for the claim
- Returns:
- string claim
- Throws:
- ParseException- if not a string
 
 
- 
 
-