Skip to content

Commit

Permalink
refactor: 토큰의 유효시간 정상화
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingyum-Kim committed Sep 11, 2023
1 parent 7b2b4a6 commit a208127
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/backend/auth/jwt/TokenProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
@Slf4j
@Component
public class TokenProvider {
// private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 2; // 2시간
private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 2; // 2시간

private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 30; // 30초
// private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 30; // 30초

// private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 14; // 2주
private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 14; // 2주

private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60; // 1분
// private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60; // 1분

private static final String TOKEN_HEADER_PREFIX = "Bearer ";

Expand Down

0 comments on commit a208127

Please sign in to comment.