forked from xiongyuxing/tiku-backend.net
refactor: consolidate backend into modular monolith
This commit is contained in:
@@ -49,15 +49,3 @@ public interface IBackgroundJobService
|
||||
int limit = 50,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
public interface IBackgroundJobDispatcher
|
||||
{
|
||||
bool IsEnabled { get; }
|
||||
|
||||
Task DispatchAsync(
|
||||
Guid jobId,
|
||||
Guid tenantId,
|
||||
string jobType,
|
||||
string correlationId,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
namespace Tiku.Application.Security;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
|
||||
public sealed class ConsumerAuthorizationMetadataAttribute(
|
||||
string realm,
|
||||
string module,
|
||||
CapabilityOperation operation,
|
||||
string auditAction) : Attribute
|
||||
{
|
||||
public string Realm { get; } = realm;
|
||||
public string Module { get; } = module;
|
||||
public CapabilityOperation Operation { get; } = operation;
|
||||
public string AuditAction { get; } = auditAction;
|
||||
public bool RequiresSystemScope { get; init; }
|
||||
}
|
||||
@@ -13,11 +13,4 @@ public interface IRedisSecurityStore
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<bool> PingAsync(CancellationToken cancellationToken = default);
|
||||
|
||||
Task SetInvalidationVersionAsync(
|
||||
string realm,
|
||||
Guid? tenantId,
|
||||
Guid? userId,
|
||||
long version,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user