namespace MxGateway.Server.Security.Authentication; public interface IApiKeyStore { Task FindByKeyIdAsync(string keyId, CancellationToken cancellationToken); Task FindActiveByKeyIdAsync(string keyId, CancellationToken cancellationToken); Task MarkKeyUsedAsync(string keyId, DateTimeOffset usedUtc, CancellationToken cancellationToken); }