introspectToken
abstract suspend fun introspectToken(tokenType: TokenType): ERROR CLASS: Symbol not found for Result<com/okta/authfoundation/client/dto/IntrospectInfo>
Introspects a specific token type at the authorization server.
Return
Result.success with IntrospectInfo — check IntrospectInfo.active to determine if the token is valid, or Result.failure with:
IllegalStateException if the requested tokenType is not present on this credential.
Other exceptions if the network request fails.
Parameters
tokenType
the TokenType to introspect.