tokenIntrospection

abstract suspend fun tokenIntrospection(request: TokenIntrospectionRequest, httpRequest: RequestInfo? = null): KmmResult<TokenIntrospectionResult>(source)

RFC7662: OAuth 2.0 Token Introspection, with RFC 9701 JWT responses for an Accept header asking for application/token-introspection+jwt. Send the result with its toHttpResponse().

Parameters

request

as sent from the client as form POST

httpRequest

information about the HTTP request from the client (including the Accept header), to validate authentication