[Feature] 이메일 인증 인프라 + API (#14) #64
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#64
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
설명
이메일 인증 인프라(ITokenStore, IEmailService)와 이메일 인증 API를 구현한다.
API_SPMS_02_AUTH_03(이메일 인증)엔드포인트
POST /v1/in/auth/email/verify— 이메일 인증 [AllowAnonymous]구현 체크리스트
Application Layer (인터페이스)
ITokenStore.cs— StoreAsync, GetAsync, RemoveAsyncIEmailService.cs— SendVerificationCodeAsync, SendPasswordResetTokenAsyncInfrastructure Layer (구현체)
InMemoryTokenStore.cs— IMemoryCache 기반 구현ConsoleEmailService.cs— ILogger로 콘솔 출력DependencyInjection.cs— DI 등록Application Layer (비즈니스 로직)
EmailVerifyRequestDto.cs— 요청 DTO (email, code)IAuthService.cs— VerifyEmailAsync 추가AuthService.cs— SignupAsync에 인증코드 생성/저장/발송 추가, VerifyEmailAsync 구현API Layer
AuthController.cs— email/verify 엔드포인트 추가검증
dotnet build성공