SPMS_API/SPMS.Application/DTOs/Service/ApiKeyRefreshResponseDto.cs
seonkyu.kim 4cb54e4c41 feat: API Key 재발급 API 구현 (#46)
- ApiKeyRefreshResponseDto 추가
- IServiceManagementService.RefreshApiKeyAsync 인터페이스 추가
- ServiceManagementService.RefreshApiKeyAsync 구현 (32~64자 랜덤 키 생성)
- ServiceController.RefreshApiKeyAsync 엔드포인트 추가
2026-02-10 00:13:16 +09:00

9 lines
249 B
C#

namespace SPMS.Application.DTOs.Service;
public class ApiKeyRefreshResponseDto
{
public string ServiceCode { get; set; } = string.Empty;
public string ApiKey { get; set; } = string.Empty;
public DateTime ApiKeyCreatedAt { get; set; }
}