From 1daef971824a05236a49443cf1e8a3254e58d660 Mon Sep 17 00:00:00 2001 From: eunsol-an Date: Thu, 16 May 2024 23:29:51 +0900 Subject: [PATCH] =?UTF-8?q?[CHORE]=20Token=20=EB=A7=8C=EB=A3=8C=20?= =?UTF-8?q?=EC=8B=9C=EA=B0=84=20=EC=97=B0=EC=9E=A5=20-=20Access=20Token=20?= =?UTF-8?q?:=201=EB=B6=84=20=E2=86=92=205=EC=8B=9C=EA=B0=84=20-=20Refresh?= =?UTF-8?q?=20Token=20:=205=EB=B6=84=20=E2=86=92=2030=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nextroom/nextRoomServer/security/TokenProvider.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/nextroom/nextRoomServer/security/TokenProvider.java b/src/main/java/com/nextroom/nextRoomServer/security/TokenProvider.java index 1ba1a21..d0847c1 100644 --- a/src/main/java/com/nextroom/nextRoomServer/security/TokenProvider.java +++ b/src/main/java/com/nextroom/nextRoomServer/security/TokenProvider.java @@ -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;