galaeth-draft/Galaeth.ApiServer/Models/AuthenticateRequest.cs

22 lines
449 B
C#
Raw Normal View History

2024-11-17 10:31:01 +01:00
using System.Text.Json.Serialization;
namespace Galaeth.ApiServer.Models;
/// <summary>
/// Authentication request.
/// </summary>
public class AuthenticateRequest
{
/// <summary>
/// Agent's username.
/// </summary>
[JsonPropertyName("username")]
public string Username { get; set; }
/// <summary>
/// Agent's password.
/// </summary>
[JsonPropertyName("password")]
public string Password { get; set; }
}