MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / probe

Function probe

packages/react/src/components/add-account-modal.test.ts:369–380  ·  view source on GitHub ↗
(_url: string)

Source from the content-addressed store, hash-verified

367 let startArgs: StartArgs | null = null;
368
369 const probe = (_url: string): Promise<ProbeResult | null> => {
370 calls.push("probe");
371 return Promise.resolve({
372 issuer: "https://auth.example.com",
373 authorizationUrl: "https://auth.example.com/authorize",
374 tokenUrl: "https://auth.example.com/token",
375 resource: "https://mcp.example.com/mcp",
376 scopesSupported: ["mcp.read"],
377 registrationEndpoint: "https://auth.example.com/register",
378 tokenEndpointAuthMethodsSupported: ["none"],
379 });
380 };
381 const register = (args: RegisterArgs): Promise<OAuthClientSlug | null> => {
382 calls.push("register");
383 registerArgs = args;

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
resolveMethod · 0.80

Tested by

no test coverage detected