[Feature] 관리자 로그인 API (ADM-01) #36
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#36
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?
설명
관리자 로그인 API를 구현한다. JWT 기반 인증으로 Access Token과 Refresh Token을 발급한다.
POST /v1/in/auth/login상세 프로세스
사용자 검증
토큰 발급
로그 기록
체크리스트
Application Layer
SPMS.Application/DTOs/Auth/LoginRequestDto.cs— 로그인 요청 DTOSPMS.Application/DTOs/Auth/LoginResponseDto.cs— 로그인 응답 DTO (AccessToken, RefreshToken, ExpiresIn)SPMS.Application/Interfaces/IAuthService.cs— 인증 서비스 인터페이스SPMS.Application/Services/AuthService.cs— 로그인 비즈니스 로직 구현Infrastructure Layer
SPMS.Infrastructure/Persistence/Repositories/AdminRepository.cs— IAdminRepository 구현 (ByEmail)API Layer
SPMS.API/Controllers/AuthController.cs— 인증 컨트롤러POST /v1/in/auth/login엔드포인트 구현검증 및 테스트
Request/Response 예시
Request:
Response (성공):
Response (실패 - 111):
관련 문서
Documents/Feature_Spec.md— ADM-01Documents/API_Specification.md— API_SPMS_02_AUTH_04Documents/Error_Codes.md— 111 (로그인 실패)