- ApiKeyRefreshResponseDto 추가 - IServiceManagementService.RefreshApiKeyAsync 인터페이스 추가 - ServiceManagementService.RefreshApiKeyAsync 구현 (32~64자 랜덤 키 생성) - ServiceController.RefreshApiKeyAsync 엔드포인트 추가
9 lines
249 B
C#
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; }
|
|
}
|