Function: resourceDiscoveryRequest()

August 29, 2025 ยท View on GitHub

๐Ÿ’— 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.


โ–ธ resourceDiscoveryRequest(resourceIdentifier, options?): Promise<Response>

Performs a protected resource metadata discovery.

Parameters

ParameterTypeDescription
resourceIdentifierURLProtected resource's resource identifier to resolve the well-known discovery URI for
options?HttpRequestOptions<"GET", undefined>-

Returns

Promise<Response>

Resolves with a Response to then invoke processResourceDiscoveryResponse with

See

RFC 9728 - OAuth 2.0 Protected Resource Metadata