Skip to content

Commit

Permalink
Merge pull request #114 from Next-Room/feature/token-expire-time
Browse files Browse the repository at this point in the history
[CHORE] Token ๋งŒ๋ฃŒ ์‹œ๊ฐ„ ์—ฐ์žฅ
  • Loading branch information
eunsol-an authored May 18, 2024
2 parents 358707f + 1daef97 commit 28f4d47
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
public class TokenProvider {
private static final String AUTHORITIES_KEY = "auth";
private static final String BEARER_TYPE = "Bearer";
// private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 2; // 2์‹œ๊ฐ„
// private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 14; // 14์ผ
private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60; // 1๋ถ„
private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 3; // 3๋ถ„
// private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 2; // 2์‹œ๊ฐ„
// private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 14; // 14์ผ
private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000L * 60 * 60 * 5; // 5์‹œ๊ฐ„
private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000L * 60 * 60 * 24 * 30; // 30์ผ

private final Key key;

Expand Down

0 comments on commit 28f4d47

Please sign in to comment.