Touch AuthModule token rotation so Halite can flag JWT decision.

This commit is contained in:
Halite Demo 2026-08-16 13:16:05 +05:00
parent 2d282da20f
commit 88b5fa7fb7

View File

@ -8,6 +8,6 @@
/** Ticket #42 — refresh token rotation (demo change for invalidation). */ /** Ticket #42 — refresh token rotation (demo change for invalidation). */
rotateRefreshToken(oldToken: string): string { rotateRefreshToken(oldToken: string): string {
return `rotated:${oldToken}`; return `rotated:${oldToken}:${Date.now()}`;
} }
} }