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