22 lines
449 B
C#
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; }
|
|
}
|