[refactor/#442] Auth security 내부 책임 명명 정리#446
Merged
Conversation
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.
❤️ 기능 설명
Auth / Security 내부의 역할 이름이 흐린 service/util/listener 책임을 기능 변경 없이 정리했습니다.
RefreshTokenService→RefreshTokenStore(auth/security/token)UserAuthCacheService→UserAuthCacheStore(auth/security/cache)UserAuthCacheEventListener→UserAuthCacheInvalidationListener(auth/security/cache)CookieUtil→RefreshTokenCookieWriterbean (auth/security/cookie)RefreshTokenCookieWriter내부로 캡슐화Swagger 테스트 성공 결과 스크린샷 첨부: 백엔드 내부 리팩토링이라 별도 Swagger 스크린샷은 없습니다. 아래 CLI 테스트 결과로 대체합니다.
연결된 issue
close #442
Follow-up: #445
🩷 Approve 하기 전 확인해주세요!
refreshToken,Path=/,Domain,Max-Age,Secure,HttpOnly,SameSite=None)✅ 체크리스트
테스트
결과:
BUILD SUCCESSFUL결과: 통과