21 lines
458 B
C#
21 lines
458 B
C#
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; }
|
|
}
|