feat: 토큰 갱신 및 로그아웃 API 구현 (#38) #39
No reviewers
SPMS/Owners
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#39
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/#38-session-token-management"
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?
📋 작업 요약
Refresh Token을 사용한 토큰 갱신(Token Rotation) 및 로그아웃 API를 구현합니다.
🔗 관련 이슈 (Related Issues)
Closes #38
🛠️ 작업 내용 (Changes)
Application Layer
TokenRefreshRequestDto.cs— 토큰 갱신 요청 DTOTokenRefreshResponseDto.cs— 토큰 갱신 응답 DTOIAuthService.cs— RefreshTokenAsync, LogoutAsync 추가AuthService.cs— 토큰 갱신/로그아웃 로직 구현Infrastructure Layer
IAdminRepository.cs— GetByRefreshTokenAsync 추가AdminRepository.cs— GetByRefreshTokenAsync 구현API Layer
AuthController.cs— 2개 엔드포인트 추가POST /v1/in/auth/token/refresh— 토큰 갱신 (AllowAnonymous)POST /v1/in/auth/logout— 로그아웃 (Authorize)📢 리뷰어 참고 사항 (To Reviewers)
✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)
빌드 성공 확인됨