13 lines
361 B
C#
13 lines
361 B
C#
namespace SIGCM2.Application.Abstractions;
|
|
|
|
/// <summary>
|
|
/// Provides HTTP client metadata (IP address and User-Agent) from the current request context.
|
|
/// Implemented in Infrastructure via IHttpContextAccessor.
|
|
/// Mockable in tests without HTTP stack.
|
|
/// </summary>
|
|
public interface IClientContext
|
|
{
|
|
string Ip { get; }
|
|
string? UserAgent { get; }
|
|
}
|