galaeth-draft/Galaeth.Services/Dtos/AuthRequestBaseDto.cs

21 lines
458 B
C#
Raw Normal View History

2024-11-17 10:31:01 +01:00
using System.Net;
using MyCSharp.HttpUserAgentParser;
namespace Galaeth.Services.Dtos;
/// <summary>
/// A base for all authentication-related request dtos.
/// </summary>
public class AuthRequestBaseDto
{
/// <summary>
/// Agent's ip address.
/// </summary>
public IPAddress IpAddress { get; set; }
/// <summary>
/// Agent's user agent information.
/// </summary>
public HttpUserAgentInformation UserAgent { get; set; }
}