License Gen and Verification added to core

This commit is contained in:
2026-05-17 04:06:28 -04:00
parent 9fbe795660
commit 1ed3efcc68
3 changed files with 52 additions and 4 deletions

View File

@@ -19,7 +19,22 @@ public class AuthUserVerify
public string Token { get; set; }
}
public class AuthServerLicense
public class AuthServerLicenseVerify
{
public string License { get; set; }
}
public class AuthServerLicenseGenerate
{
public string Server { get; set; }
public string Length {get; set;} //TODO: Convert to Enum
}
public class DBLicense
{
public string Token {get; set;}
public bool IsClient {get; set;}
public DateTime CreatedAt {get; set;}
public DateTime ExpiresAt {get; set;}
public bool IsExpired {get; set;}
}