feat: JWT 인증 모듈 구현 (#20) #21
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#21
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/#20-jwt-auth"
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?
📋 작업 요약
🔗 관련 이슈 (Related Issues)
Closes #20
🛠️ 작업 내용 (Changes)
SPMS.Application/Interfaces/IJwtService.cs— JWT 서비스 인터페이스 (GenerateAccessToken, ValidateAccessToken, GenerateRefreshToken)SPMS.Application/Settings/JwtSettings.cs— JWT 설정 POCO (Options Pattern 바인딩)SPMS.Infrastructure/Auth/JwtService.cs— JWT 구현체 (HMAC-SHA256, Claims: Sub/Jti/Role/ServiceCode)SPMS.API/Extensions/AuthenticationExtensions.cs— AddJwtAuthentication, AddAuthorizationPolicies 확장 메서드SPMS.API/Program.cs— IJwtService DI 등록, UseAuthentication/UseAuthorization 파이프라인 추가SPMS.API/appsettings.json— RefreshTokenExpiryDays 항목 추가SPMS.Infrastructure/SPMS.Infrastructure.csproj— System.IdentityModel.Tokens.Jwt 패키지 추가SPMS.API/SPMS.API.csproj— Microsoft.AspNetCore.Authentication.JwtBearer 패키지 추가📢 리뷰어 참고 사항 (To Reviewers)
✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)