| 720 | let startArgs: StartArgs | null = null; |
| 721 | |
| 722 | const probe = (_url: string): Promise<ProbeResult | null> => { |
| 723 | calls.push("probe"); |
| 724 | return Promise.resolve({ |
| 725 | issuer: "https://auth.example.com", |
| 726 | authorizationUrl: "https://auth.example.com/authorize", |
| 727 | tokenUrl: "https://auth.example.com/token", |
| 728 | resource: "https://mcp.example.com/mcp", |
| 729 | scopesSupported: ["mcp.read"], |
| 730 | registrationEndpoint: "https://auth.example.com/register", |
| 731 | tokenEndpointAuthMethodsSupported: ["none"], |
| 732 | }); |
| 733 | }; |
| 734 | const register = (args: RegisterArgs): Promise<OAuthClientSlug | null> => { |
| 735 | calls.push("register"); |
| 736 | registerArgs = args; |