ExpiringToken
Time-decaying privileges
Mechanism
Access tokens that strictly degrade in capability over time. A fresh key can do everything (Admin). After 1 hour, it degrades to Write-Only. After 2 hours, Read-Only. After 3 hours, Dead. The decay is encoded in the token logic itself. It extends BearerToken by embedding an immutable expiration timestamp within the signed payload.
Invariants
- Expired tokens cannot be revived.
- Monotonic Decay: Capabilities cannot increase over time
- Time-Bound: Token is invalid if CurrentTime > ExpiryTime
Failure modes
- Clock synchronization issues.
Where this came from
—
Builds on
- BearerToken references
- Decay references
Used by
- Powerreturn references
Related
Identity
- Ref:
ExpiringToken#6cce - Hash: sema:ExpiringToken#mh:SHA-256:6ccee8101ea0c081947b221568ce55d3b727412df9015a4ac8e876dc956efcaf
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository