Skip to content

Commit

Permalink
Chore: 토큰 유효기간 원상태 복귀
Browse files Browse the repository at this point in the history
  • Loading branch information
tioon committed May 23, 2024
1 parent d0f0dcd commit 98d15b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public class LoginService {
private final Oauth2Service oauth2Service;
private final JwtTokenProvider jwtTokenProvider;
private final S3ImageStorageService s3ImageStorageService;
public static final Duration REFRESH_TOKEN_DURATION = Duration.ofMinutes(2); // 리프레시 토큰 유효기간.
public static final Duration ACCESS_TOKEN_DURATION = Duration.ofMinutes(1); // 액세스 토큰 유효기간.
public static final Duration REFRESH_TOKEN_DURATION = Duration.ofDays(14); // 리프레시 토큰 유효기간.
public static final Duration ACCESS_TOKEN_DURATION = Duration.ofHours(1); // 액세스 토큰 유효기간.


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public class ManageTokenService {

private final MemberRepository memberRepository;
private final JwtTokenProvider jwtTokenProvider;
public static final Duration REFRESH_TOKEN_DURATION = Duration.ofMinutes(2); // 리프레시 토큰 유효기간.
public static final Duration ACCESS_TOKEN_DURATION = Duration.ofMinutes(1); // 액세스 토큰 유효기간.
public static final Duration REFRESH_TOKEN_DURATION = Duration.ofDays(14); // 리프레시 토큰 유효기간.
public static final Duration ACCESS_TOKEN_DURATION = Duration.ofHours(1); // 액세스 토큰 유효기간.


/**
Expand Down

0 comments on commit 98d15b1

Please sign in to comment.