Skip to content

Commit 86bed6a

Browse files
committed
adjust comment
1 parent 4c51230 commit 86bed6a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/client/auth.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ export interface OAuthClientProvider {
7474
codeVerifier(): string | Promise<string>;
7575

7676
/**
77-
* If defined, overrides the OAuth Protected Resource Metadata (RFC 9728).
77+
* If defined, overrides the selection and validation of the
78+
* RFC 8707 Resource Indicator. If left undefined, default
79+
* validation behavior will be used.
7880
*
79-
* Implementations must verify the resource matches the MCP server.
81+
* Implementations must verify the returned resource matches the MCP server.
8082
*/
8183
validateResourceURL?(serverUrl: string | URL, resource?: string): Promise<URL | undefined>;
8284
}

0 commit comments

Comments
 (0)