mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 14:36:31 +00:00
consolidate CommonSecurity to Common.dll
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace Azaion.LoaderUI;
|
||||
|
||||
public class ApiCredentials(string email, string pw)
|
||||
{
|
||||
public string Email { get; set; } = email;
|
||||
public string Password { get; set; } = pw;
|
||||
|
||||
public bool IsValid() =>
|
||||
!string.IsNullOrWhiteSpace(Email) && !string.IsNullOrWhiteSpace(Password);
|
||||
}
|
||||
Reference in New Issue
Block a user