SPMS_API/SPMS.API/appsettings.json
SEAN 2d30aaf212 feat: JWT 인증 모듈 구현 (#20)
- IJwtService 인터페이스 (Application Layer)
- JwtSettings POCO (Options Pattern)
- JwtService 구현 (Access Token 생성/검증, Refresh Token 생성)
- AddJwtAuthentication/AddAuthorizationPolicies 확장 메서드
- Program.cs에 인증/인가 미들웨어 등록 (파이프라인 순서 10~11번)
- NuGet: System.IdentityModel.Tokens.Jwt, Microsoft.AspNetCore.Authentication.JwtBearer
2026-02-09 14:59:36 +09:00

26 lines
466 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": ""
},
"JwtSettings": {
"SecretKey": "",
"Issuer": "SPMS",
"Audience": "SPMS",
"ExpiryMinutes": 10,
"RefreshTokenExpiryDays": 7
},
"RabbitMQ": {
"HostName": "",
"Port": 0,
"UserName": "",
"Password": "",
"VirtualHost": "/"
}
}