feat(auth): increase access token expiry to 24h and refresh token to 7 days
This commit is contained in:
parent
33b24b62d5
commit
1a5a835d33
1 changed files with 2 additions and 2 deletions
|
|
@ -2,8 +2,8 @@ package net.beetechgroup.beetask.usecase.auth;
|
||||||
|
|
||||||
public final class TokenConstants {
|
public final class TokenConstants {
|
||||||
|
|
||||||
public static final long ACCESS_TOKEN_EXPIRY_SECONDS = 3600L; // 1 hour
|
public static final long ACCESS_TOKEN_EXPIRY_SECONDS = 86400L; // 24 hours
|
||||||
public static final long REFRESH_TOKEN_EXPIRY_SECONDS = 86400L; // 24 hours
|
public static final long REFRESH_TOKEN_EXPIRY_SECONDS = 604800L; // 7 days
|
||||||
|
|
||||||
private TokenConstants() {}
|
private TokenConstants() {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue