Skip to content

Commit

Permalink
chore: 인증만료 시간 조정(#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
mybloom committed Jun 11, 2022
1 parent 0adcb94 commit 4bc7f49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BE/src/main/java/org/team4/airbnb/auth/OAuthService.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public class OAuthService {
private final JwtTokenProvider jwtTokenProvider;

private final String TOKEN_TYPE = "Bearer";
private final long VALID_TIME_ACCESS_TOKEN = Duration.ofMillis(30).toMillis();
private final long VALID_TIME_REFRESH_TOKEN = Duration.ofMillis(60).toMillis();
private final long VALID_TIME_ACCESS_TOKEN = Duration.ofMillis(300).toMillis();
private final long VALID_TIME_REFRESH_TOKEN = Duration.ofMillis(600).toMillis();

private final Random random = new Random();

Expand Down

0 comments on commit 4bc7f49

Please sign in to comment.