using e_suite.Database.Audit;
using e_suite.Database.Core;
using FailedAccessAttempt = e_suite.Database.Core.Tables.Sentinel.FailedAccessAttempt;

namespace e_suite.API.Common.repository;
public interface IBlockedIPsManagerRepository: IRepository
{
    IQueryable<FailedAccessAttempt> GetBlockedIPs(DateTimeOffset earliestAttemptTime);

    Task UnBlockIP(AuditUserDetails auditUserDetails, string ipAddress, CancellationToken cancellationToken);
}
