@@ -654,7 +654,8 @@ export function extractResourceMetadataUrl(res: Response): URL | undefined {
654654}
655655
656656/**
657- * Looks up RFC 9728 OAuth 2.0 Protected Resource Metadata.
657+ * Looks up {@link https://datatracker.ietf.org/doc/html/rfc9728 | RFC 9728}
658+ * OAuth 2.0 Protected Resource Metadata.
658659 *
659660 * If the server returns a 404 for the well-known endpoint, this function will
660661 * return `undefined`. Any other errors will be thrown as exceptions.
@@ -872,8 +873,11 @@ export function buildDiscoveryUrls(authorizationServerUrl: string | URL): { url:
872873}
873874
874875/**
875- * Discovers authorization server metadata with support for RFC 8414 OAuth 2.0 Authorization Server Metadata
876- * and OpenID Connect Discovery 1.0 specifications.
876+ * Discovers authorization server metadata with support for
877+ * {@link https://datatracker.ietf.org/doc/html/rfc8414 | RFC 8414} OAuth 2.0
878+ * Authorization Server Metadata and
879+ * {@link https://openid.net/specs/openid-connect-discovery-1_0.html | OpenID Connect Discovery 1.0}
880+ * specifications.
877881 *
878882 * This function implements a fallback strategy for authorization server discovery:
879883 * 1. Attempts RFC 8414 OAuth metadata discovery first
@@ -1269,7 +1273,8 @@ export async function fetchToken(
12691273}
12701274
12711275/**
1272- * Performs OAuth 2.0 Dynamic Client Registration according to RFC 7591.
1276+ * Performs OAuth 2.0 Dynamic Client Registration according to
1277+ * {@link https://datatracker.ietf.org/doc/html/rfc7591 | RFC 7591}.
12731278 */
12741279export async function registerClient (
12751280 authorizationServerUrl : string | URL ,
0 commit comments