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

Function probe

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

Source from the content-addressed store, hash-verified

1128 let startArgs: StartArgs | null = null;
1129
1130 const probe = (_url: string): Promise<ProbeResult | null> => {
1131 calls.push("probe");
1132 return Promise.resolve({
1133 issuer: "https://auth.example.com",
1134 authorizationUrl: "https://auth.example.com/authorize",
1135 tokenUrl: "https://auth.example.com/token",
1136 resource: "https://mcp.example.com/mcp",
1137 scopesSupported: ["mcp.read"],
1138 registrationEndpoint: "https://auth.example.com/register",
1139 tokenEndpointAuthMethodsSupported: ["none"],
1140 });
1141 };
1142 const register = (args: RegisterArgs): Promise<OAuthClientSlug | null> => {
1143 calls.push("register");
1144 registerArgs = args;

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
resolveMethod · 0.80

Tested by

no test coverage detected