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

Function probe

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

Source from the content-addressed store, hash-verified

394 let startArgs: StartArgs | null = null;
395
396 const probe = (_url: string): Promise<ProbeResult | null> => {
397 calls.push("probe");
398 return Promise.resolve({
399 issuer: "https://auth.example.com",
400 authorizationUrl: "https://auth.example.com/authorize",
401 tokenUrl: "https://auth.example.com/token",
402 resource: "https://mcp.example.com/mcp",
403 scopesSupported: ["mcp.read"],
404 registrationEndpoint: "https://auth.example.com/register",
405 tokenEndpointAuthMethodsSupported: ["none"],
406 });
407 };
408 const register = (args: RegisterArgs): Promise<OAuthClientSlug | null> => {
409 calls.push("register");
410 registerArgs = args;

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
resolveMethod · 0.80

Tested by

no test coverage detected