using System.Threading; using System.Threading.Tasks; using CellularManagement.Domain.Entities.Logging; using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Domain.Repositories.Identity; /// /// 登录日志仓储接口 /// public interface ILoginLogRepository : IBaseRepository { /// /// 记录登录日志 /// Task RecordLoginAsync(LoginLog log, CancellationToken cancellationToken = default); /// /// 检查IP是否被限制 /// Task IsIpRestrictedAsync(string ipAddress, CancellationToken cancellationToken = default); }