License Gen and Verification added to core
This commit is contained in:
@@ -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;}
|
||||
}
|
||||
Reference in New Issue
Block a user