Touch AuthModule token rotation so Halite can flag JWT decision.
This commit is contained in:
parent
2d282da20f
commit
88b5fa7fb7
@ -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()}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user