dotnet-cqrs/OpenHarbor.CQRS.Abstractions/Security/ICommandAuthorizationService.cs
Mathias Beaulieu-Duncan 1c81288895 update namespaces
refactor the name of the organisation
2023-11-04 15:24:56 -04:00

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);
}