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

Function sessionSetCookie

apps/cloud/src/auth/doc-gate.ts:187–188  ·  view source on GitHub ↗
(sealed: string)

Source from the content-addressed store, hash-verified

185 `${AUTH_HINT_COOKIE}=${encodeAuthHint(hint)}; ${HINT_COOKIE_ATTRIBUTES}; Max-Age=${AUTH_HINT_MAX_AGE_SECONDS}`;
186
187const sessionSetCookie = (sealed: string) =>
188 `${SESSION_COOKIE}=${sealed}; ${SESSION_COOKIE_ATTRIBUTES}; Max-Age=${SESSION_MAX_AGE}`;
189
190const redirect = (
191 location: string,

Callers 2

redirectFunction · 0.85
doc-gate.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected