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

Function bearer

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

Source from the content-addressed store, hash-verified

92const layers = Layer.mergeAll(stubApiKeys, stubWorkOS, stubUsers);
93
94const bearer = (token: string) =>
95 new Request("https://executor.test/api/tools", {
96 headers: { authorization: `Bearer ${token}` },
97 });
98
99describe("org-level API keys", () => {
100 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