hammer-editor/server
Adam Brown 8e55ec4ab0 Add a token-maintenance job to purge dead auth tokens
Now that refresh tokens expire, expired auth_token rows accumulated
forever since nothing deleted them. Add a daily maintenance job that
purges auth_token rows whose refresh window has fully elapsed (so a
still-refreshable row is never deleted), sharing AccountsRepository's
REFRESH_TOKEN_WINDOW so the cutoff can't drift from the refresh policy.

The job follows the existing job pattern (DI singleton + configure* at
boot, stopped on ApplicationStopped) and also runs the previously
unscheduled password-reset token cleanup.
2026-06-23 10:05:36 -07:00
..
src Add a token-maintenance job to purge dead auth tokens 2026-06-23 10:05:36 -07:00
build.gradle.kts Use the HSTS plugin 2026-06-19 17:51:21 -07:00