12 lines
302 B
C#
12 lines
302 B
C#
using System;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PoweredSoft.CQRS.Abstractions.Security
|
|
{
|
|
public interface ICommandAuthorizationService
|
|
{
|
|
Task<AuthorizationResult> IsAllowedAsync(Type commandType, CancellationToken cancellationToken = default);
|
|
}
|
|
}
|