mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:06:30 +00:00
add azaion loader
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
using MessagePack;
|
||||
using CommandLine;
|
||||
using MessagePack;
|
||||
|
||||
namespace Azaion.CommonSecurity.DTO;
|
||||
|
||||
[MessagePackObject]
|
||||
public class ApiCredentials(string email, string password) : EventArgs
|
||||
public class ApiCredentials : EventArgs
|
||||
{
|
||||
[Key(nameof(Email))]
|
||||
public string Email { get; set; } = email;
|
||||
[Option('e', "email", Required = true, HelpText = "User Email")]
|
||||
public string Email { get; set; } = null!;
|
||||
|
||||
[Key(nameof(Password))]
|
||||
public string Password { get; set; } = password;
|
||||
[Option('p', "pass", Required = true, HelpText = "User Password")]
|
||||
public string Password { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user