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

Function session

apps/cloud/src/account/org-api-key-revoke.node.test.ts:56–64  ·  view source on GitHub ↗
(accountId: string)

Source from the content-addressed store, hash-verified

54const orgHeaders = { [ORG_SELECTOR_HEADER]: ORG };
55
56const session = (accountId: string) => ({
57 accountId,
58 email: `${accountId}@example.test`,
59 name: null,
60 avatarUrl: null,
61 organizationId: ORG,
62 sealedSession: "sealed",
63 refreshedSession: null,
64});
65
66// Membership is read from the mirror, never from WorkOS: revoke makes no
67// WorkOS call at all.

Callers 1

providerWithFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected