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