ascnet/AscNet.SDKServer/Models/AscNetAuth.cs

18 lines
621 B
C#
Raw Permalink Normal View History

2023-10-08 02:27:30 +00:00
using Newtonsoft.Json;
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
namespace AscNet.SDKServer.Models
{
public class AuthRequest
{
[JsonProperty("username", NullValueHandling = NullValueHandling.Ignore)]
public string Username { get; set; }
[JsonProperty("password", NullValueHandling = NullValueHandling.Ignore)]
public string Password { get; set; }
2023-10-15 05:07:04 +00:00
[JsonProperty("token", NullValueHandling = NullValueHandling.Ignore)]
public string Token { get; set; }
2023-10-08 02:27:30 +00:00
}
}