Commit Graph

2 Commits

Author SHA1 Message Date
SEAN
f798b290ec fix: X-Service-Code 미들웨어 경로 제외 수정 (#59)
auth, account, public, service 경로를 X-Service-Code 검증 대상에서 제외.
device, message, push, stats, file 경로만 X-Service-Code 헤더 필요.
Swagger OperationFilter도 동일하게 수정.
2026-02-10 10:20:43 +09:00
SEAN
df8a8e2e5b feat: X-Service-Code / X-API-KEY 서비스 식별 미들웨어 구현 (#32)
- ServiceRepository: IServiceRepository 구현 (GetByServiceCode, GetByApiKey)
- ServiceCodeMiddleware: X-Service-Code 헤더 검증, DB 조회, 서비스 상태 확인
- ApiKeyMiddleware: /v1/in/device/* 경로 X-API-KEY 검증
- ApplicationBuilderExtensions: 미들웨어 파이프라인 12~13번 등록
- DependencyInjection: IServiceRepository DI 등록

Closes #32
2026-02-09 17:25:19 +09:00