Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
UserJoinResponse
paragon0107/Week6/src/main/java/org/sopt/spring/auth/dto/UserJoinResponse.java
Lines 3 to 16 in 2ed4ebd
refreshToken 추가
JwtTokenProvider
paragon0107/Week6/src/main/java/org/sopt/spring/common/jwt/JwtTokenProvider.java
Lines 25 to 41 in 2ed4ebd
refreshToken시간 추가, refreshToken생성 메서드 추가,refreshToken생성,accessToken 생성 호출 메서드 추가
AuthController
paragon0107/Week6/src/main/java/org/sopt/spring/controller/auth/AuthController.java
Lines 22 to 54 in 2ed4ebd
로그인, 리프레쉬 토큰 재생성 컨트롤러
MemberService
paragon0107/Week6/src/main/java/org/sopt/spring/service/MemberService.java
Lines 34 to 44 in 2ed4ebd
멤버 생성 및 토큰 발급 기능
AuthService
paragon0107/Week6/src/main/java/org/sopt/spring/auth/service/AuthService.java
Lines 25 to 81 in 2ed4ebd
궁금한점
paragon0107/Week6/src/main/java/org/sopt/spring/auth/filter/JwtAuthenticationFilter.java
Lines 36 to 44 in 2ed4ebd
paragon0107/Week6/src/main/java/org/sopt/spring/auth/filter/JwtAuthenticationFilter.java
Lines 40 to 41 in 2ed4ebd
authentication.setDetails(new WebAuthenticationDetailsSource().buildDetails(request)); 이 부분을 reissue에서 토큰생성할 때는 넣어줬고 로그인할 때는 이 코드를 안넣어줬는데 토큰 생성시에 차이가 있는지? or 통일하는게 나은지?? 궁금합니당
reIssue할 때 리프레쉬 토큰도 한번 더 업데이트 해줘야 하는건지 아니면 로그인할 때만 업데이트를 해주는건지 궁금해요