JWT 리프레시 토큰 구현#21
Open
eunjee wants to merge 2 commits into
Open
Conversation
kimtaehyun98
reviewed
Feb 1, 2022
kimtaehyun98
left a comment
Member
There was a problem hiding this comment.
새롭게 접한 기술인텐데 빠르게 완성해주셨네요! 고생하셨습니다~ 👍👍
PR을 보니 해당 기술을 사용할지는 안드단에도 여쭤봐야될 것 같네요!
| /* | ||
| 새로운 액세스 토큰 혹은 리프레시 토큰이 필요한 경우 | ||
| */ | ||
| @PostMapping("/accessToken") |
| private String memberPw; | ||
| private int memberSchoolId; | ||
| private int memberMajorId; | ||
| private String memberMajor; |
Member
There was a problem hiding this comment.
이건 저번 PR에서 수정했던것 같은데 아직 머지가 안됐나보네요.. ㅠㅠ
| this.jdbcTemplate = new JdbcTemplate(dataSource); | ||
| } | ||
|
|
||
| public void createRefreshToken(int memberId,String refreshToken){ |
Open
Contributor
|
수고하셨습니다!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
1. 액세스 토큰 갱신 API
2. 로그아웃 API
리프레시 토큰 사용 시 필요할 것 같아 만들었습니다.
저도 다시 생각해보니 굳이 필요는 없을 것 같은데 일단 PR만 올려두겠습니다!