-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] Jwt 재발급 API 구현 #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다.
@@ -44,4 +45,11 @@ public ResponseEntity<ApiResponse<?>> withdraw(@UserId final Long userId) { | |||
userService.withdraw(userId); | |||
return ApiResponseUtil.success(SuccessMessage.OK); | |||
} | |||
|
|||
@PatchMapping("/reissue") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Http Method 확인 한번 부탁드립니다!
@@ -44,4 +45,11 @@ public ResponseEntity<ApiResponse<?>> withdraw(@UserId final Long userId) { | |||
userService.withdraw(userId); | |||
return ApiResponseUtil.success(SuccessMessage.OK); | |||
} | |||
|
|||
@PatchMapping("/reissue") | |||
public ResponseEntity<ApiResponse<?>> reissue(@RequestHeader("Authorization") final String refreshtoken, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Authorization"과 같이 반복적으로 사용되는 문자열을 전역 상수로 관리해도 좋을 것 같습니다.
Related Issue 📌
close #20
Description ✔️