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

Function bearer

apps/cloud/src/auth/org-api-key-auth.node.test.ts:148–151  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

146const layers = Layer.mergeAll(stubApiKeys, stubWorkOS, stubUsers, stubDirectory, stubMirror);
147
148const bearer = (token: string) =>
149 new Request("https://executor.test/api/tools", {
150 headers: { authorization: `Bearer ${token}` },
151 });
152
153describe("org-level API keys", () => {
154 it.effect("resolve to the platform view with no acting member", () =>

Callers 2

makeAuthOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected