[Feature] 비밀번호 찾기/재설정 API (#15+#16) #66

Closed
opened 2026-02-10 01:53:54 +00:00 by seonkyu.kim · 0 comments
Owner

설명

비밀번호 찾기(재설정 토큰 발송)와 비밀번호 재설정 API를 구현한다.

  • API_Specification.md §3 Account API 참조
  • API_SPMS_03_ACCOUNT_01 (비밀번호 찾기)
  • API_SPMS_03_ACCOUNT_02 (비밀번호 재설정)
  • ITokenStore, IEmailService 활용 (#64 의존)

엔드포인트

  • POST /v1/in/account/password/forgot — 비밀번호 찾기 [AllowAnonymous]
  • POST /v1/in/account/password/reset — 비밀번호 재설정 [AllowAnonymous]

구현 체크리스트

Application Layer

  • PasswordForgotRequestDto.cs — 요청 DTO (email)
  • PasswordResetRequestDto.cs — 요청 DTO (email, token, new_password)
  • IAuthService.cs — ForgotPasswordAsync, ResetPasswordAsync 추가
  • AuthService.cs — 위 2개 구현

API Layer

  • PasswordController.cs — Route: v1/in/account/password

검증

  • dotnet build 성공
  • Swagger 엔드포인트 확인
## 설명 비밀번호 찾기(재설정 토큰 발송)와 비밀번호 재설정 API를 구현한다. - API_Specification.md §3 Account API 참조 - `API_SPMS_03_ACCOUNT_01` (비밀번호 찾기) - `API_SPMS_03_ACCOUNT_02` (비밀번호 재설정) - ITokenStore, IEmailService 활용 (#64 의존) ## 엔드포인트 - `POST /v1/in/account/password/forgot` — 비밀번호 찾기 [AllowAnonymous] - `POST /v1/in/account/password/reset` — 비밀번호 재설정 [AllowAnonymous] ## 구현 체크리스트 ### Application Layer - [x] `PasswordForgotRequestDto.cs` — 요청 DTO (email) - [x] `PasswordResetRequestDto.cs` — 요청 DTO (email, token, new_password) - [x] `IAuthService.cs` — ForgotPasswordAsync, ResetPasswordAsync 추가 - [x] `AuthService.cs` — 위 2개 구현 ### API Layer - [x] `PasswordController.cs` — Route: `v1/in/account/password` ### 검증 - [x] `dotnet build` 성공 - [x] Swagger 엔드포인트 확인
seonkyu.kim added the
Priority
Medium
Status
Available
Type
Feature
labels 2026-02-10 01:54:01 +00:00
seonkyu.kim self-assigned this 2026-02-10 01:54:03 +00:00
seonkyu.kim added this to the Phase 2-1: 인증 & 계정 & 서비스 API milestone 2026-02-10 01:54:03 +00:00
seonkyu.kim added
Status
Done
and removed
Status
Available
labels 2026-02-10 02:10:19 +00:00
Sign in to join this conversation.
No description provided.