2016-06-18 21:08:21 +02:00
|
|
|
|
namespace Bit.Core
|
2015-12-09 04:57:38 +01:00
|
|
|
|
{
|
|
|
|
|
public class GlobalSettings
|
|
|
|
|
{
|
2016-02-06 07:18:25 +01:00
|
|
|
|
public virtual string SiteName { get; set; }
|
|
|
|
|
public virtual string BaseVaultUri { get; set; }
|
2016-05-20 01:10:24 +02:00
|
|
|
|
public virtual string JwtSigningKey { get; set; }
|
2016-02-06 07:18:25 +01:00
|
|
|
|
public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings();
|
2015-12-09 04:57:38 +01:00
|
|
|
|
public virtual MailSettings Mail { get; set; } = new MailSettings();
|
2016-02-07 05:45:33 +01:00
|
|
|
|
public virtual LoggrSettings Loggr { get; set; } = new LoggrSettings();
|
2016-06-18 21:08:21 +02:00
|
|
|
|
public virtual PushSettings Push { get; set; } = new PushSettings();
|
2016-12-01 03:51:43 +01:00
|
|
|
|
public virtual StorageSettings Storage { get; set; } = new StorageSettings();
|
2017-01-13 00:35:26 +01:00
|
|
|
|
public virtual IdentityServerSettings IdentityServer { get; set; } = new IdentityServerSettings();
|
2015-12-09 04:57:38 +01:00
|
|
|
|
|
2016-02-06 07:18:25 +01:00
|
|
|
|
public class SqlServerSettings
|
|
|
|
|
{
|
|
|
|
|
public string ConnectionString { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-01 03:51:43 +01:00
|
|
|
|
public class StorageSettings
|
|
|
|
|
{
|
|
|
|
|
public string ConnectionString { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-09 04:57:38 +01:00
|
|
|
|
public class MailSettings
|
|
|
|
|
{
|
2016-02-07 05:45:33 +01:00
|
|
|
|
public string ApiKey { get; set; }
|
2015-12-09 04:57:38 +01:00
|
|
|
|
public string ReplyToEmail { get; set; }
|
|
|
|
|
}
|
2016-02-07 05:45:33 +01:00
|
|
|
|
|
|
|
|
|
public class LoggrSettings
|
|
|
|
|
{
|
|
|
|
|
public string LogKey { get; set; }
|
|
|
|
|
public string ApiKey { get; set; }
|
|
|
|
|
}
|
2016-06-17 23:42:22 +02:00
|
|
|
|
|
2016-06-18 21:08:21 +02:00
|
|
|
|
public class PushSettings
|
|
|
|
|
{
|
|
|
|
|
public string ApnsCertificateThumbprint { get; set; }
|
|
|
|
|
public string ApnsCertificatePassword { get; set; }
|
|
|
|
|
public string GcmSenderId { get; set; }
|
|
|
|
|
public string GcmApiKey { get; set; }
|
|
|
|
|
public string GcmAppPackageName { get; set; }
|
|
|
|
|
}
|
2017-01-13 00:35:26 +01:00
|
|
|
|
|
|
|
|
|
public class IdentityServerSettings
|
|
|
|
|
{
|
|
|
|
|
public string CertificateThumbprint { get; set; }
|
|
|
|
|
}
|
2015-12-09 04:57:38 +01:00
|
|
|
|
}
|
|
|
|
|
}
|