parseIntrospectResponse
parseIntrospectResponse(
data):IntrospectionResponse
Defined in: packages/core/src/introspect.ts:54
Parses and validates a token introspection response, ensuring the required active field is present.
Parameters
Section titled “Parameters”unknown
The parsed JSON body returned from the introspection endpoint.
Returns
Section titled “Returns”The validated IntrospectionResponse.
Throws
Section titled “Throws”OidcError with code TOKEN_EXCHANGE_ERROR if the response is not an object or active is missing.
RFC 7662 §2.2 — Introspection Response