Skip to content

Commit

Permalink
#539 [feat] 토큰 만료 기간 연장
Browse files Browse the repository at this point in the history
#539 [feat] 토큰 만료 기간 연장
  • Loading branch information
sohyundoh authored Oct 19, 2024
2 parents 6c9b4b7 + bc0fea5 commit cfbcf5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public class JwtTokenProvider {
private final ObjectMapper objectMapper;
private static final String MEMBER_ID = "memberId";
private static final String JOINED_ROLE = "joinedRole";
private static final Long ACCESS_TOKEN_EXPIRATION_TIME = 4 * 60 * 60 * 1000L;
private static final Long REFRESH_TOKEN_EXPIRATION_TIME = 60 * 60 * 24 * 1000L * 14;
private static final Long ACCESS_TOKEN_EXPIRATION_TIME = 48 * 60 * 60 * 1000L;
private static final Long REFRESH_TOKEN_EXPIRATION_TIME = 60 * 60 * 24 * 1000L * 30;

@Value("${jwt.secret}")
private String JWT_SECRET;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@Component
public class S3Service {

private static final Long PRE_SIGNED_URL_EXPIRE_MINUTE = 1L; // 만료시간 2시간
private static final Long PRE_SIGNED_URL_EXPIRE_MINUTE = 1000L * 60 * 60 * 2; // 만료시간 2시간

private final String bucketName;
private final AwsConfig awsConfig;
Expand Down

0 comments on commit cfbcf5f

Please sign in to comment.