feat(auth): increase access token expiry to 24h and refresh token to 7 days

This commit is contained in:
Gabriel Menezes 2026-10-09 13:39:02 -04:00
parent 33b24b62d5
commit 1a5a835d33

View file

@ -2,8 +2,8 @@ package net.beetechgroup.beetask.usecase.auth;
public final class TokenConstants {
public static final long ACCESS_TOKEN_EXPIRY_SECONDS = 3600L; // 1 hour
public static final long REFRESH_TOKEN_EXPIRY_SECONDS = 86400L; // 24 hours
public static final long ACCESS_TOKEN_EXPIRY_SECONDS = 86400L; // 24 hours
public static final long REFRESH_TOKEN_EXPIRY_SECONDS = 604800L; // 7 days
private TokenConstants() {}
}