Package com.okta.jwt.impl
Class DefaultJwt
java.lang.Object
com.okta.jwt.impl.DefaultJwt
- All Implemented Interfaces:
Jwt
Default simple bean implementation of
Jwt
.
Classes in this `impl` implementation package may change in NON backward compatible way, and should ONLY be used as
a "runtime" dependency.-
Constructor Details
-
Method Details
-
getTokenValue
Description copied from interface:Jwt
Returns the original string representation of this JWT.- Specified by:
getTokenValue
in interfaceJwt
- Returns:
- original JWT string representation
-
getIssuedAt
Description copied from interface:Jwt
Returns the `iat` claim value as anInstant
.- Specified by:
getIssuedAt
in interfaceJwt
- Returns:
- `iat` claim value
-
getExpiresAt
Description copied from interface:Jwt
Returns the `exp` claim value as anInstant
.- Specified by:
getExpiresAt
in interfaceJwt
- Returns:
- `exp` claim value
-
getClaims
Description copied from interface:Jwt
Returns the token body clams as Map.
-