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

Function tokenResponseFetch

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

Source from the content-addressed store, hash-verified

157
158const tokenResponseFetch =
159 (body: unknown): typeof globalThis.fetch =>
160 async () =>
161 new Response(JSON.stringify(body), {
162 status: 200,
163 headers: { "content-type": "application/json" },
164 });
165
166// ---------------------------------------------------------------------------
167// PKCE

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected