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

File doc-gate.ts

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

Source from the content-addressed store, hash-verified

1// ---------------------------------------------------------------------------
2// Document 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 15

isAppOwnedPathFunction · 0.90
parseCookieFunction · 0.90
safeReturnToFunction · 0.90
loginPathFunction · 0.90
isValidOrgSlugFunction · 0.90
isDocumentRequestFunction · 0.85
verifySessionFunction · 0.85
organizationDisplayFunction · 0.85
authorizeLastOrgSlugFunction · 0.85
resolveAuthHintFunction · 0.85
hintSetCookieFunction · 0.85
sessionSetCookieFunction · 0.85

Tested by

no test coverage detected