| readIdentityToken | function | The token in the configured header: absent (no header), or present. A present header that does not hold one well-formed token (another scheme, two values joined, empty, the field sent twice) gives token: null, which is refused like an invalid token: a gateway that sends the header always sends one token in it. Node keeps only the first of two Authorization fields, so the raw fields are counted. / |
| readSessionCookie | function | The session id the Cookie header names, or null (only a well-formed id is returned). */ |
| redact | function | — |
| renderBootPage | function | Fills a page shell's placeholders: {{luxel:styles}} (head), {{luxel:context}} (content), {{luxel:runtime}} (end of body). filled (slot projection): each mounted view's filled template and resume block, written inside its context element; then the page carries what the first paint needs (content, per-view CSS) before anything else. / |
| RenderedPage | interface | — |
| renderSurfacePage | function | The page of a dynamic surface: one context, a page the server did not fill (the dynamic module projects it from the manifest), the app's global stylesheets. / |
| ReplayGuard | interface | Spends a single-use value once. The static views' form tokens are stored nowhere when they are issued; when one is USED its nonce is claimed here until the token would expire, so the same token is refused a second time. shared is true when every node claims in the same place (several nodes need it; @luxel-framework/postgres has one). Keys are hashes, never the token. / |
| RequestIdentity | interface | Sprint 13.5 (ADR-065): what a handler reads about the gateway's identity for the request it serves: the token's subject, its email claim when it is a string, the raw token as the gateway forwarded it (so the app can call its own backends with it) and every verified claim (locale, groups… are given, never enforced by Luxel). It comes from the token of each request, so it is always the token the gateway forwards now (a renewed one included), and it is never stored. The app must never put the token in a zone, a page, a URL or a log. / |
| ResolvedIdentityConfig | interface | The configuration with its defaults applied and every list normalized. */ |
| ResolveOptions | interface | How a session is read (SessionStore.resolve). */ |
| responseHoldsRequestSecret | function | S1r (ADR-065 §23): the scan sendDynamic makes, on its own: whether a response's body or an app-supplied header holds the request's credential. Callers that admit a held open run it FIRST (scan, then the credential check, then the admission and its cookie, then the write): a response refused by the scan never admits. / |
| ResumeBlock | interface | — |
| RevocationList | interface | Sprint 11 (H-PROVENANCE, ADR-048): builds an operator has revoked, by build digest (sha256 of the signed provenance, hex). A host whose own build is listed stops serving (503 on every request, /healthz included) within one poll; shared is true when every node reads the same list (several nodes need it in production; @luxel-framework/postgres has one). / |
| RunningHost | interface | — |
| SbomComponent | interface | — |
| sbomFromLock | function | The app's dependencies from its package-lock.json (name, version, integrity), sorted. */ |
| scriptJson | function | JSON for a ‹script type="application/json"> data block: nothing in it can close the element. */ |
| scrubFields | function | The fields of a log entry, scrubbed: the same keys in the same order (an undefined value kept as it is); only string values change, and only when they hold a secret. A logger receives the shape it would have received. / |
| scrubForLog | function | A text as it may be logged: the current request's secrets and anything JWT-shaped replaced. */ |
| securityHeaders | function | Full set, for documents (pages) and static files. CLAUDE.md decision 13, as amended by decision 15: script-src lists only the hashes of the runtime modules (and the import map) the page may run; style-src adds the hash of the page's inline per-view CSS when there is one. Trusted Types are required and no policy may be created. Everything else is closed. / |
| sendDynamic | function | Any per-request body (JSON, filled pages): no-store by default, compressed with the rule above. */ |
| sendJson | function | — |
| servedHashes | function | Sprint 11 (ADR-048): the sha256 of every byte the host serves as a public file: runtime modules, assets (templates, slot maps, stylesheets), manifests as served, and the static pages (static:‹variant>/‹view>). Filled private pages are not artifacts (their template is). / |
| SESSION_CLOSE_ATTEMPTS | const | How often the store is asked to close an existing session before the request fails closed (ADR-065 §13). */ |