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

Function probe

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

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
resolveMethod · 0.80

Tested by

no test coverage detected