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/auth] 추가적인 메서드 분리 작업 및 테스트 추가 #6

Merged
merged 7 commits into from Jun 20, 2023

Conversation

sosow0212
Copy link
Owner

@sosow0212 sosow0212 commented Jun 11, 2023

Auth

블로그 정리 글

23.06.11

  • JWT Token Login 구현

  • 유효하지 않은 토큰 혹은 로그인의 경우 예외 발생 구현

  • Filter 이용해서 유효하지 않은 인증이라면 접근을 막음, Auth 기능을 제외한 나머지 요청은 토큰이 필요하도록 구현

  • ArgumentResolver 이용해서 토큰 헤더를 컨트롤러에서 Member 객체로 바인딩하는 기능 추가

  • 인수테스트 뼈대 코드 완성

  • Auth API 테스트

    • API E2E 테스트
    • API 인수 테스트
    • Service 통합 테스트
    • Service 단위 테스트 (예외 발생 검증)
    • ArgumentResolver 테스트
  • Rest Docs 문서화

  • DB 패스워드 암호화

@kimtaesoo99
Copy link
Collaborator

회원가입 로직에서 비밀번호에 관해 암호화를 하지 않았는데, 나중에 추가할 예정인지 혹은 의도한 것인지 궁금합니다.

@sosow0212
Copy link
Owner Author

회원가입 로직에서 비밀번호에 관해 암호화를 하지 않았는데, 나중에 추가할 예정인지 혹은 의도한 것인지 궁금합니다.

나중에 API 확정되고 추가할 예정입니다~

Copy link
Collaborator

@kimtaesoo99 kimtaesoo99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이대로 진행해도 될것이라 판단하여 Approve 누르겠습니다.
나머지 분들도 확인해주세요.

@sosow0212 sosow0212 merged commit 10588f9 into develop Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants