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

Function tokenResponseFetch

packages/core/sdk/src/oauth-helpers.test.ts:103–108  ·  view source on GitHub ↗
(body: unknown)

Source from the content-addressed store, hash-verified

101
102const tokenResponseFetch =
103 (body: unknown): typeof globalThis.fetch =>
104 async () =>
105 new Response(JSON.stringify(body), {
106 status: 200,
107 headers: { "content-type": "application/json" },
108 });
109
110// ---------------------------------------------------------------------------
111// PKCE

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected