Conversation
User 삭제 시, 연관되어 있는 Friend, Streak, StudyRecord, Category, Notification, Quiz 데이터를 삭제하기 위해 제약조건을 추가하였음
User 삭제 시 남아 있는 Refresh 토큰 데이터를 모두 삭제하는 메소드 추가
refreshToken을 받기 위해 accesstype=offline&prompt=consent 형식으로 요청을 보냄
GoogleClient: 구글 OAuth 토큰 관리 KakaoAuthClient: 카카오 토큰 관리 KakaoApiClient: 카카오 사용자/리소스 API 호출(언링크 등)
KakaoAuthClient: accessToken 재발급 client KakaoApiClient: 연동 해제 client
1. refreshToken으로 accessToken 재발급 요청 보내는 메소드 2. accessToken으로 unlink 요청 보내는 메소드 3. adminKey와 kakaoUserId로 unlink 요청 보내는 메소드
Google/Kakao 유저를 구분하여 그에 맞는 연결 해제 로직 수행
[Feat/#39] 회원 탈퇴 기능 구현
[Feat/#56] 로그아웃 API
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.
No description provided.