1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-04 14:13:28 +01:00
bitwarden-server/src/Core/GlobalSettings.cs

41 lines
1.2 KiB
C#
Raw Normal View History

using StackExchange.Redis.Extensions.Core.Configuration;
using System;
2015-12-09 04:57:38 +01:00
using System.Collections.Generic;
namespace Bit.Core
{
public class GlobalSettings
{
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; }
public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings();
2015-12-09 04:57:38 +01:00
public virtual MailSettings Mail { get; set; } = new MailSettings();
public virtual LoggrSettings Loggr { get; set; } = new LoggrSettings();
public virtual CacheSettings Cache { get; set; } = new CacheSettings();
2015-12-09 04:57:38 +01:00
public class SqlServerSettings
{
public string ConnectionString { get; set; }
}
2015-12-09 04:57:38 +01:00
public class MailSettings
{
public string ApiKey { get; set; }
2015-12-09 04:57:38 +01:00
public string ReplyToEmail { get; set; }
}
public class LoggrSettings
{
public string LogKey { get; set; }
public string ApiKey { get; set; }
}
public class CacheSettings
{
public string ConnectionString { get; set; }
public int Database { get; set; }
}
2015-12-09 04:57:38 +01:00
}
}