Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 2.01 KB

processIntrospectionResponse.md

File metadata and controls

34 lines (22 loc) · 2.01 KB

Function: processIntrospectionResponse()

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


processIntrospectionResponse(as, client, response, options?): Promise<IntrospectionResponse>

Validates Response instance to be one coming from the as.introspection_endpoint.

Parameters

Parameter Type Description
as AuthorizationServer Authorization Server Metadata.
client Client Client Metadata.
response Response Resolved value from introspectionRequest.
options? JWEDecryptOptions -

Returns

Promise<IntrospectionResponse>

Resolves with an object representing the parsed successful response. OAuth 2.0 protocol style errors are rejected using ResponseBodyError. WWW-Authenticate HTTP Header challenges are rejected with WWWAuthenticateChallengeError.

See