Feat/#115 이메일 인증 로직 Redis 기반으로 리펙토링 #116
Merged
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.
-closes #115
구현 내용❗️
이메일 인증 로직을 Redis 기반으로 리팩토링
CQRS 패턴을 적용하여 인증번호 발송과 인증 검증 로직 분리
EmailCommandService: 인증번호 생성 및 이메일 발송EmailQueryService: Redis에서 인증번호 검증EmailVerificationService: 인증번호 저장 및 TTL 관리EmailCodeGenerator: 인증번호 생성 유틸UserController의 이메일 인증 API 수정/users/me/info/identity-verification/users/me/info/certificationUserCommandService의 인증번호 검증 로직 제거 → 컨트롤러에서 인증 후 서비스 호출FindController의 인증번호 검증도 Redis 기반으로 변경기존
EmailService클래스 제거요구사항 분석 ❗️
작업 내용 1
EmailService.ePw) 제거작업 내용 2
구현 고민사항 ❗️
고민사항 1
상세설명
고민사항 2
상세설명
...