diff --git a/src/auth/auth.service.ts b/src/auth/auth.service.ts index 2b5a48c..95f84e8 100644 --- a/src/auth/auth.service.ts +++ b/src/auth/auth.service.ts @@ -10,4 +10,9 @@ rotateRefreshToken(oldToken: string): string { return `rotated:${oldToken}:${Date.now()}`; } + + /** Decision: keep JWT (not sessions) so mobile clients can store offline-capable tokens. */ + usesStatelessJwt(): boolean { + return true; + } }