We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c51230 commit 86bed6aCopy full SHA for 86bed6a
src/client/auth.ts
@@ -74,9 +74,11 @@ export interface OAuthClientProvider {
74
codeVerifier(): string | Promise<string>;
75
76
/**
77
- * If defined, overrides the OAuth Protected Resource Metadata (RFC 9728).
+ * If defined, overrides the selection and validation of the
78
+ * RFC 8707 Resource Indicator. If left undefined, default
79
+ * validation behavior will be used.
80
*
- * Implementations must verify the resource matches the MCP server.
81
+ * Implementations must verify the returned resource matches the MCP server.
82
*/
83
validateResourceURL?(serverUrl: string | URL, resource?: string): Promise<URL | undefined>;
84
}
0 commit comments