introspectToken
suspend fun introspectToken(tokenTypeHint: String, token: String): ERROR CLASS: Symbol not found for Result<com/okta/authfoundation/client/dto/IntrospectInfo>
Performs a call to the Authorization Server to validate the specified token per RFC 7662.
Return
Result.success with IntrospectInfo, or Result.failure with:
OAuth2ClientResult.Error.OidcEndpointsNotAvailableException if endpoints cannot be resolved.
OAuth2ClientResult.Error.HttpResponseException if the server returns an error.
Other exceptions for network or parsing failures.
Parameters
tokenTypeHint
a hint about the type of token (e.g., "access_token", "refresh_token").
token
the token string to introspect.