The tools¶
Each tool has a page in the Tutorial - User Guide, an example app and its reference.
-
@cachefor endpoints and functions: one entry for everybody or one per user, invalidation by tag, signed or encrypted entries. -
In memory, Redis, Valkey, GLIDE, memcached or DynamoDB, and a copy in each process in front of them.
-
Seven strategies: page numbers, offsets, ranges, signed cursors, keysets, scrolls and streams, each page cached under its own key.
-
Requests per window and requests at a time, per client or shared, across processes.
-
A retried POST gets the first response instead of running twice.
-
Who makes a request, by strategies: JWTs, bearer tokens, sessions, OAuth2 logins with GitHub or Google, SAML single sign-on, or your own.
-
API keys with scopes and expiry, a blocklist of tokens and one-time codes, nothing stored in clear.
-
Slow hashes with a pepper, leaked passwords refused, guesses limited per account, and resets by a link that works once.
-
Logins without a password with Touch ID, Windows Hello, a phone or a security key (WebAuthn), which a phishing page can't relay.
-
Authenticator apps' codes (TOTP) after the password, each once, recovery codes, and a recent code for sensitive actions.
-
Who may do what, decided by a Casbin or Cedar policy in the process, or by Open Policy Agent over the network (ACL, RBAC, ABAC), per route or for every request.
-
Sessions, CSRF and security headers
Sessions you can revoke, requests from other sites refused, the OWASP headers and a body size limit.
-
What each user, API key or tenant uses per period, held to its plan's quotas, with a usage record per charge for billing.
-
Who did what to which resource, and whether it worked: no secrets, signed and chained.
-
The real type from the bytes, the size, image dimensions and safe file names.
-
Signed URLs and upload forms for S3, R2 or MinIO: files go straight from the browser, bounded in size and type.
-
Password resets, codes and receipts over SMTP with TLS, in messages nothing can add a header or a recipient to.
-
Standard Webhooks signing and verification, and calls out with a deadline, a breaker and SSRF protection.
-
RFC 9457 problem details, request IDs, timeouts, health checks, metrics, traces and logs as JSON.
-
Scheduled jobs, a task queue, a leader and locks, shared by every process; messages to all of them, and an outbox for those a change announces.
-
Circuit breakers, maintenance mode and feature flags that every process sees at once.
-
What gets cached and for whom, what the backend is trusted with, and what happens when it fails.