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 an Instant.
      Returns:
      `iat` claim value
    • getExpiresAt

      Instant getExpiresAt()
      Returns the `exp` claim value as an Instant.
      Returns:
      `exp` claim value
    • getClaims

      Map<String,Object> getClaims()
      Returns the token body clams as Map.
      Returns:
      the token body clams as Map