idToken

abstract fun idToken(): ERROR CLASS: Symbol not found for Result<com/okta/authfoundation/jwt/Jwt>

Retrieves the parsed Jwt from the ID token.

Return

Result.success with the parsed Jwt, or Result.failure with:

  • NoSuchElementException if no ID token is present on this credential.

  • Other exceptions if the ID token string is malformed and cannot be parsed as a JWT.