using System; using System.Threading; using System.Threading.Tasks; namespace OpenHarbor.CQRS.Abstractions.Security; public interface IQueryAuthorizationService { Task IsAllowedAsync(Type queryType, CancellationToken cancellationToken = default); }