update namespaces

refactor the name of the organisation
This commit is contained in:
Mathias Beaulieu-Duncan
2023-11-04 15:24:56 -04:00
parent 88c86513e9
commit 1c81288895
116 changed files with 1695 additions and 1747 deletions
@@ -0,0 +1,8 @@
namespace OpenHarbor.CQRS.Abstractions.Security;
public enum AuthorizationResult
{
Unauthorized,
Forbidden,
Allowed
}
@@ -0,0 +1,10 @@
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);
}
@@ -0,0 +1,10 @@
using System;
using System.Threading;
using System.Threading.Tasks;
namespace OpenHarbor.CQRS.Abstractions.Security;
public interface IQueryAuthorizationService
{
Task<AuthorizationResult> IsAllowedAsync(Type queryType, CancellationToken cancellationToken = default);
}