Repository navigation
skeld 0.2.0
Adds a route gate to @skeld/core and a new package, @skeld/auth.
On a gated server every route declares its access (public, optional, or a policy and an action) or listen rejects. Identification runs before the body is read; authorization runs after validation, before the handler. A server without a gate behaves as before.
@skeld/auth supplies policies with request-bound grants, sessions with a session-bound CSRF token, API keys, JWT verification, generic OpenID Connect sign-in, shared rate limits and Argon2id password helpers, over SQLite or PostgreSQL. Its only runtime dependency is @skeld/core. Users, credentials and account recovery stay with the application.
Install: npm install @skeld/core@0.2.0 @skeld/auth@0.2.0