mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-14 00:04:40 +01:00
api for sdk
This commit is contained in:
14
AscNet.SDKServer/Models/AscNetAuth.cs
Normal file
14
AscNet.SDKServer/Models/AscNetAuth.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user