Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.5 KB

processDiscoveryResponse.md

File metadata and controls

30 lines (18 loc) · 1.5 KB

Function: processDiscoveryResponse()

💗 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.


processDiscoveryResponse(expectedIssuerIdentifier, response): Promise<AuthorizationServer>

Validates Response instance to be one coming from the authorization server's well-known discovery endpoint.

Parameters

Parameter Type Description
expectedIssuerIdentifier URL Expected Issuer Identifier value.
response Response Resolved value from discoveryRequest.

Returns

Promise<AuthorizationServer>

Resolves with the discovered Authorization Server Metadata.

See