using StickyBoard.Core.Models.Attachments; using StickyBoard.Core.Repositories.Base; namespace StickyBoard.Core.Repositories.Attachments.Contracts; public interface IFileTokenRepository : IRepository { Task> GetValidForAttachmentAsync(Guid attachmentId, DateTime now, CancellationToken ct); Task RevokeAsync(Guid tokenId, CancellationToken ct); Task RevokeAllForAttachmentAsync(Guid attachmentId, CancellationToken ct); }