Skip to content

[refactor/#436] Auth DTO 경계 및 보안 패키지 정리#437

Merged
Dimo-2562 merged 12 commits into
developfrom
refactor/#436
Jun 14, 2026
Merged

[refactor/#436] Auth DTO 경계 및 보안 패키지 정리#437
Dimo-2562 merged 12 commits into
developfrom
refactor/#436

Conversation

@Dimo-2562

@Dimo-2562 Dimo-2562 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

❤️ 기능 설명

Auth DTO 경계를 presentation API 계약과 application use case 모델로 분리하고, Auth / Security 컨텍스트 내부 소유 표면을 추가 정리했습니다.

  • HTTP 요청/응답 DTO를 auth/presentation/{request,response}로 이동
  • application service 입력/출력을 command/input, command/result 모델로 분리
  • Auth service를 auth/application/command 아래로 정리
  • controller와 converter를 각각 auth/presentation/controller, auth/presentation/converter로 정리
  • 개발자 토큰 API를 Admin 컨텍스트에서 Auth presentation으로 이동하되 기존 path는 유지
  • Kakao 외부 API 응답 모델 패키지를 infrastructure/kakao/response로 명확화
  • Auth Swagger 공통 태그를 @AuthApi 메타 어노테이션으로 정리
  • HeaderUtil, Auth/Security 전용 상수를 auth/security 아래로 이동
  • refresh token cookie 생성/삭제 회귀 테스트 보강
  • Auth / Security 유비쿼터스 언어 및 테스트 갭 문서 최신화

Swagger 테스트 성공 결과 스크린샷 첨부

  • API path, JSON field, status code, cookie 정책 변경 없는 리팩터링 중심 PR이라 Swagger 스크린샷은 해당 없습니다.
  • 아래 CLI 검증 결과와 PR CI로 대체합니다.

연결된 issue

close #436



✅ 체크리스트

  • PR 제목 규칙 잘 지켰는가?
  • 추가/수정사항을 설명하였는가?
  • 테스트 결과 사진을 넣었는가? (API 계약 변경 없는 리팩터링이라 CLI 결과로 대체)
  • 이슈넘버를 적었는가?

🧪 테스트 결과

git diff --check
# 통과

./gradlew compileJava compileTestJava
# BUILD SUCCESSFUL

./gradlew test --tests com.techfork.auth.security.filter.JwtAuthenticationFilterTest
# BUILD SUCCESSFUL

@Dimo-2562 Dimo-2562 self-assigned this Jun 14, 2026
@Dimo-2562 Dimo-2562 added 🌟 REFACTOR 리팩터링 (기능 변화 X) 🔐 domain:auth 인증/보안 관련 (로그인, JWT, OAuth) labels Jun 14, 2026
@Dimo-2562 Dimo-2562 merged commit 96f28d7 into develop Jun 14, 2026
1 check passed
@Dimo-2562 Dimo-2562 deleted the refactor/#436 branch June 14, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔐 domain:auth 인증/보안 관련 (로그인, JWT, OAuth) 🌟 REFACTOR 리팩터링 (기능 변화 X)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REFACTOR] Auth DTO를 Command/Response 경계로 분리

1 participant