Parameterize token timeouts in the model
Add model-level keys to control JWT access and refresh token lifetimes. Currently hardcoded in the backend (rbac library). Proposed keys:
:access-token-ttl — lifetime of the access token (default: 15m) :refresh-token-ttl — lifetime of the refresh token (default: 7d)
Both optional; omitting them uses the current defaults. The compiler validates that values are positive integers (seconds) and that refresh TTL > access TTL.
Use cases: high-security apps want short access TTLs; convenience apps (internal tools) want long refresh TTLs so users aren't re-prompted frequently. The hosted tier can offer presets ("strict", "balanced", "convenient") that map to these values.
- Slot
- 15000
- Status
- 10 Open
- Tags
- backend, compiler
- Contributors
- Donnie