| SESSION_COOKIE | const | __Host-: Secure, Path=/, no Domain — the browser enforces all three. */ |
| sessionBinding | function | Binds a token to a session without putting the session id in it. */ |
| SessionDelegate | interface | What the app's backend implements. Every call names the session by hashSessionId(id): the backend never sees the id (nor the cookie), and luxel-host keeps nothing. The backend decides whether a session is valid (its own expiry, revocation, the user still active…) and may keep its own credentials for it (the pilot application: the JWT FastAPI issued, which never leaves the server). validate returns the principal as open received it, every field included (Sprint 13.5: under identity.mode: "gateway-jwt" the principal carries identityKey, which binds the session). / |
| SessionLifetimes | interface | — |
| SessionPrincipal | interface | — |
| sessionRecord | function | The record a store returns for an id and what it keeps about it. */ |
| SessionRecord | interface | — |
| SessionResolver | type | Resolves the Cookie header to a live session (anonymous or authenticated), or null. Sprint 8: it may answer with a promise (sessions in PostgreSQL, for several nodes; ADR-035). Sprint 13.5: the request is passed too (luxel-host under identity.mode: "gateway-jwt" answers the session its identity gate resolved for that request; ADR-065). A resolver that needs only the cookie ignores it. / |
| SessionRevokedError | class | S1l (ADR-065 §17): the user was revoked between the read of the revocation counter and the open: nothing opened. */ |
| sessionSetCookie | function | — |
| SessionStarter | type | options.id (S1k, ADR-065 §16): the id the new session must have (luxel-host's starter honours it). options.pendingUntil (ADR-065 §24, M-OPEN): the session is opened provisional, ending by itself at that time. / |
| SessionStore | interface | — |
| sha256 | const | — |
| SIGNATURE_FILE | const | — |
| signProvenance | function | — |
| startHost | function | listenHost: the address to listen on (default: every interface, as a server behind a proxy needs). Sprint 11: luxel dev passes 127.0.0.1 (a development host is never reachable from the network). / |
| STATIC_SESSION | const | Sprint 10 (ADR-046): what a static view's load and handlers see when the request has no session. No id, no user, no CSRF token: nothing to fix, steal or store. / |
| StoredSurface | interface | A dynamic surface as one node projected it (luxel check passed there), for the other nodes. */ |
| storeSessions | function | resolveSession / startSession / login / logout over a SessionStore, with the __Host- cookie. */ |
| StoreSessions | interface | — |
| stringLeaves | function | Every string a value holds (itself, the items of a list, the values of an object), a few levels deep. */ |
| SurfaceStore | interface | — |
| TextNormalization | type | Sprint 12 (red team RT-13): text normalization of an input. Zero-width characters (U+200B–U+200D, U+2060, U+FEFF) and control characters other than tab and line breaks are removed, then the text is put in Unicode normal form NFC or NFKC (NFKC also folds look-alike compatibility forms such as full-width letters). Applied by the gateway before the sign-in limits and before any adapter. / |
| tokenHash | const | The key of a token in the verification cache (the token itself is never kept). */ |
| untrustedIdentityHeaders | function | The families of untrusted identity headers in the request (the other token headers included). */ |
| verifyFormToken | function | — |