galaeth-draft/Galaeth.ApiServer/Models/AuthenticateRequest.cs
2024-11-17 09:31:01 +00:00

22 lines
449 B
C#

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; }
}