Skip to content
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/#20 토큰 검증을 위한 ArgumentResolver 생성 #22

Merged
merged 9 commits into from
Oct 23, 2023
Merged

Conversation

yumyeonghan
Copy link
Collaborator

이슈번호

close: #20

작업 내용 설명

  • UserArgumentResolver 생성
  • @Login 어노테이션 생성
  • redis, RefreshToken 해시 생성
  • redis, RefreshTokenRepository 저장소 생성

리뷰어에게 한마디

  • 사용자의 인증은 @Login과 AuthInfo 객체를 통해 인증됩니다.
    • UserArgumentResolver에 의해 userId와 refreshToken을 AuthInfo 객체에 담아 전달
  • 추가적으로 명함 업로드 uri 수정 및 로직 변경

yumyeonghan added 9 commits October 23, 2023 14:54
- 로직에 사용될 userId와 토큰 검증에 사용될 refreshToken
- 로그인 확인할 때 사용 됨
- 헤더로 넘어오는 AccessToken을 통해 AuthInfo 객체로 데이터 변환 기능
- key : userId, value : 토큰값
- refresh token 조회 로직 추가
@yumyeonghan yumyeonghan added the feat 기능 개발 label Oct 23, 2023
@yumyeonghan yumyeonghan added this to the 1차 스프린트 milestone Oct 23, 2023
@yumyeonghan yumyeonghan self-assigned this Oct 23, 2023
@github-actions
Copy link

Test Results

1 tests   1 ✔️  1s ⏱️
1 suites  0 💤
1 files    0

Results for commit f141049.

@yumyeonghan yumyeonghan merged commit d9e7f6e into dev Oct 23, 2023
3 checks passed
@yumyeonghan yumyeonghan deleted the feat/#20 branch October 23, 2023 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 기능 개발
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

🚀 [Feature] 토큰 검증을 위한 ArgumentResolver 생성
1 participant