Function: buildProtectedResourceMetadata()
buildProtectedResourceMetadata(
args):Rfc9728Metadata
Defined in: auth-core/src/oauth.ts:242
Builds an RFC 9728 Protected Resource Metadata object.
Parameters
| Parameter | Type | Description |
|---|---|---|
args | { authorizationServers: string[]; resource: string; } | - |
args.authorizationServers | string[] | List of authorization server issuer URIs that protect this resource. |
args.resource | string | The protected resource's identifier URI. |