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

Function cookieOf

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

Source from the content-addressed store, hash-verified

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

Callers 5

forBrowserFunction · 0.70
accountIdOfFunction · 0.70
activeOrgFunction · 0.70
organizationsOfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected