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:

Parameters

tokenTypeHint

a hint about the type of token (e.g., "access_token", "refresh_token").

token

the token string to introspect.