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.
This commit is contained in:
1 parent
23ead64795
commit
8a6a0a9d04
1 file changed
-12
@@ -1,12 +0,0 @@
|
||||
using Heimdall.Application.Common;
|
||||
using Heimdall.Application.DTOs;
|
||||
|
||||
namespace Heimdall.Application.Services;
|
||||
|
||||
public interface IApiKeyService
|
||||
{
|
||||
Task<ServiceResult<CreateApiKeyResponse>> CreateAsync(Guid? siteId, Guid? createdByUserId, DateTime? expiresAt, CancellationToken ct);
|
||||
Task<ServiceResult<PagedResult<ApiKeyResponse>>> ListAsync(Guid? siteId, int page, int pageSize, CancellationToken ct);
|
||||
Task<ServiceResult> RevokeAsync(Guid id, CancellationToken ct);
|
||||
Task<ServiceResult<bool>> ValidateKeyAsync(string key, CancellationToken ct);
|
||||
}
|
||||
Reference in new issue
Block a user