mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-06 14:40:28 -04:00
Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
This commit is contained in:
parent
f12ba1502b
commit
22191ce648
591 changed files with 53264 additions and 3362 deletions
42
server/FSO.Server.Api.Core/ApiConfig.cs
Executable file
42
server/FSO.Server.Api.Core/ApiConfig.cs
Executable file
|
@ -0,0 +1,42 @@
|
|||
using FSO.Server.Api.Core.Services;
|
||||
|
||||
namespace FSO.Server.Api.Core
|
||||
{
|
||||
public class ApiConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// How long an auth ticket is valid for
|
||||
/// </summary>
|
||||
public int AuthTicketDuration = 300;
|
||||
|
||||
/// <summary>
|
||||
/// If non-null, the user must provide this key to register an account.
|
||||
/// </summary>
|
||||
public string Regkey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// If true, only authentication from moderators and admins will be accepted
|
||||
/// </summary>
|
||||
public bool Maintainance { get; set; }
|
||||
|
||||
public string Secret { get; set; }
|
||||
|
||||
public string UpdateUrl { get; set; }
|
||||
public string CDNUrl { get; set; }
|
||||
|
||||
public string NFSdir { get; set; }
|
||||
|
||||
public string SmtpHost { get; set; }
|
||||
public int SmtpPort { get; set; }
|
||||
public string SmtpPassword { get; set; }
|
||||
public string SmtpUser { get; set; }
|
||||
|
||||
public bool SmtpEnabled { get; set; }
|
||||
public bool UseProxy { get; set; }
|
||||
|
||||
public int? UpdateID { get; set; }
|
||||
|
||||
public string BranchName { get; set; } = "dev";
|
||||
public IUpdateUploader UpdateUploader { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue