mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:56:31 +00:00
6229ca8a03
zoom fix
25 lines
710 B
C#
25 lines
710 B
C#
using CommandLine;
|
|
using MessagePack;
|
|
|
|
namespace Azaion.Common.DTO;
|
|
|
|
[MessagePackObject]
|
|
[Verb("credsManual", HelpText = "Manual Credentials")]
|
|
public class ApiCredentials
|
|
{
|
|
[Key(nameof(Email))]
|
|
[Option('e', "email", Required = true, HelpText = "User Email")]
|
|
public string Email { get; set; } = null!;
|
|
|
|
[Key(nameof(Password))]
|
|
[Option('p', "pass", Required = true, HelpText = "User Password")]
|
|
public string Password { get; set; } = null!;
|
|
}
|
|
|
|
[Verb("credsEncrypted", isDefault: true, HelpText = "Encrypted Credentials")]
|
|
public class ApiCredentialsEncrypted
|
|
{
|
|
[Option('c', "creds", Group = "auto", HelpText = "Encrypted Creds")]
|
|
public string Creds { get; set; } = null!;
|
|
}
|