Frontend gaps fill work. Testing fixes work. Auditing in progress.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using StellaOps.Integrations.Core;
|
||||
|
||||
namespace StellaOps.Integrations.WebService;
|
||||
|
||||
/// <summary>
|
||||
/// Publishes integration lifecycle events to downstream consumers.
|
||||
/// </summary>
|
||||
public interface IIntegrationEventPublisher
|
||||
{
|
||||
Task PublishAsync(IntegrationEvent @event, CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Logs integration audit events.
|
||||
/// </summary>
|
||||
public interface IIntegrationAuditLogger
|
||||
{
|
||||
Task LogAsync(string action, Guid integrationId, string? userId, object? details, CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Resolves AuthRef URIs to secret values.
|
||||
/// </summary>
|
||||
public interface IAuthRefResolver
|
||||
{
|
||||
Task<string?> ResolveAsync(string authRefUri, CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user