adjust comment
This commit is contained in:
parent
4c51230fc2
commit
86bed6aaac
1 changed files with 4 additions and 2 deletions
|
|
@ -74,9 +74,11 @@ export interface OAuthClientProvider {
|
|||
codeVerifier(): string | Promise<string>;
|
||||
|
||||
/**
|
||||
* If defined, overrides the OAuth Protected Resource Metadata (RFC 9728).
|
||||
* If defined, overrides the selection and validation of the
|
||||
* RFC 8707 Resource Indicator. If left undefined, default
|
||||
* validation behavior will be used.
|
||||
*
|
||||
* Implementations must verify the resource matches the MCP server.
|
||||
* Implementations must verify the returned resource matches the MCP server.
|
||||
*/
|
||||
validateResourceURL?(serverUrl: string | URL, resource?: string): Promise<URL | undefined>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue