From 39e0c50d684c0b3adb674ae74daa6a75da6b6607 Mon Sep 17 00:00:00 2001 From: Halite Demo Date: Sun, 16 Aug 2026 14:47:15 +0500 Subject: [PATCH] Decision: keep JWT (not sessions) in AuthModule for offline mobile tokens. --- src/auth/auth.service.ts | 5 +++++ 1 file changed, 5 insertions(+) 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; + } }