Skip to main content

Function: buildProtectedResourceMetadata()

buildProtectedResourceMetadata(args): Rfc9728Metadata

Defined in: oauth.ts:173

Builds an RFC 9728 Protected Resource Metadata object.

Parameters

ParameterTypeDescription
args{ authorizationServers: string[]; resource: string; }-
args.authorizationServersstring[]List of authorization server issuer URIs that protect this resource.
args.resourcestringThe protected resource's identifier URI.

Returns

Rfc9728Metadata