MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ssr-gate.ts

File ssr-gate.ts

apps/cloud/src/auth/ssr-gate.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// ---------------------------------------------------------------------------
2// SSR auth gate — the server-side session check for DOCUMENT requests.
3//
4// The sealed `wos-session` cookie is verified right here in the worker

Callers

nothing calls this directly

Calls 14

isAppOwnedPathFunction · 0.90
parseCookieFunction · 0.90
safeReturnToFunction · 0.90
loginPathFunction · 0.90
browserOriginFromRequestFunction · 0.90
isDocumentRequestFunction · 0.85
verifySessionFunction · 0.85
resolveAuthHintFunction · 0.85
hintSetCookieFunction · 0.85
sessionSetCookieFunction · 0.85
redirectFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected