Package com.okta.jwt
Interface Jwt
- All Known Implementing Classes:
DefaultJwt
public interface Jwt
A Jwt object represents the claims Body of a JWT object.
-
Method Details
-
getTokenValue
String getTokenValue()Returns the original string representation of this JWT.- Returns:
- original JWT string representation
-
getIssuedAt
Instant getIssuedAt()Returns the `iat` claim value as anInstant
.- Returns:
- `iat` claim value
-
getExpiresAt
Instant getExpiresAt()Returns the `exp` claim value as anInstant
.- Returns:
- `exp` claim value
-
getClaims
Returns the token body clams as Map.- Returns:
- the token body clams as Map
-