namespace SIGCM2.Application.Audit;

/// Request-scoped context populated by the audit middleware pipeline:
/// CorrelationIdMiddleware (pre-auth) sets CorrelationId/Ip/UserAgent;
/// AuditActorMiddleware (post-auth) fills ActorUserId/ActorRoleId from JWT claims.
/// Consumed by IAuditLogger to enrich every AuditEvent emitted within the request.
public interface IAuditContext
{
    int? ActorUserId { get; }
    int? ActorRoleId { get; }
    string? Ip { get; }
    string? UserAgent { get; }
    Guid CorrelationId { get; }
}
