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

Function cookieOf

e2e/cloud/support/session.ts:43–43  ·  view source on GitHub ↗
(identity: Identity)

Source from the content-addressed store, hash-verified

41
42/** The session cookie header this identity authenticates API calls with. */
43export const cookieOf = (identity: Identity): string => identity.headers?.["cookie"] ?? "";
44
45/**
46 * The identity re-bound so the BROWSER carries the same session the API calls

Callers 7

orgOfFunction · 0.90
forBrowserFunction · 0.70
accountIdOfFunction · 0.70
activeOrgFunction · 0.70
organizationsOfFunction · 0.70

Calls

no outgoing calls

Tested by 1

orgOfFunction · 0.72