Disconnect when token expired
All checks were successful
Game Ideas build for PR / build_test (pull_request) Successful in 55s

This commit is contained in:
2025-04-29 23:02:59 +02:00
parent 4f7e7156ed
commit bac7a36737
4 changed files with 30 additions and 6 deletions

View File

@@ -12,11 +12,12 @@ public class GlobalConstants
public const string MEMBER_NORMALIZED = "MEMBRE";
public const string ADMIN_MEMBER = $"{ADMINISTRATOR}, {MEMBER}";
public const int JWT_DURATION_HOUR = 12;
public const int JWT_DURATION_HOUR = 168;
public const int NUMBER_PER_PAGE = 50;
public const string LS_AUTH_STORAGE_KEY = "authToken";
public const string LS_EXPIRED_STORAGE_KEY = "expiredToken";
public const int API_PORT = 8000;
public const string SUB_DOMAIN_NAME = "api-";