From 4bc7f49efabab6c05379f13682ab7ea4f569a303 Mon Sep 17 00:00:00 2001 From: mybloom Date: Sun, 12 Jun 2022 00:55:28 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EC=9D=B8=EC=A6=9D=EB=A7=8C=EB=A3=8C?= =?UTF-8?q?=20=EC=8B=9C=EA=B0=84=20=EC=A1=B0=EC=A0=95(ios-h/airbnb#35)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BE/src/main/java/org/team4/airbnb/auth/OAuthService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BE/src/main/java/org/team4/airbnb/auth/OAuthService.java b/BE/src/main/java/org/team4/airbnb/auth/OAuthService.java index af422eec8..44be63118 100644 --- a/BE/src/main/java/org/team4/airbnb/auth/OAuthService.java +++ b/BE/src/main/java/org/team4/airbnb/auth/OAuthService.java @@ -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();