From 8a6a0a9d04bcf4061b0490b205356e13f469990f Mon Sep 17 00:00:00 2001 From: Arnaud Dartois Date: Fri, 17 Jul 2026 20:02:33 +0000 Subject: [PATCH] chore(api): remove dead IApiKeyService interface No implementation exists and no controller injects it. The DTOs (ApiKeyResponse, CreateApiKeyResponse) are kept as they may be reused by a future endpoint. --- src/Heimdall.Application/Services/IApiKeyService.cs | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/Heimdall.Application/Services/IApiKeyService.cs diff --git a/src/Heimdall.Application/Services/IApiKeyService.cs b/src/Heimdall.Application/Services/IApiKeyService.cs deleted file mode 100644 index de3d317..0000000 --- a/src/Heimdall.Application/Services/IApiKeyService.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Heimdall.Application.Common; -using Heimdall.Application.DTOs; - -namespace Heimdall.Application.Services; - -public interface IApiKeyService -{ - Task> CreateAsync(Guid? siteId, Guid? createdByUserId, DateTime? expiresAt, CancellationToken ct); - Task>> ListAsync(Guid? siteId, int page, int pageSize, CancellationToken ct); - Task RevokeAsync(Guid id, CancellationToken ct); - Task> ValidateKeyAsync(string key, CancellationToken ct); -}