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

29 lines
856 B
C#
Raw Normal View History

2015-12-09 04:57:38 +01:00
using System;
using System.Collections.Generic;
namespace Bit.Core
{
public class GlobalSettings
{
public string SiteName { get; set; }
public string BaseVaultUri { get; set; }
public virtual DocumentDBSettings DocumentDB { get; set; } = new DocumentDBSettings();
public virtual MailSettings Mail { get; set; } = new MailSettings();
public class DocumentDBSettings
{
public string Uri { get; set; }
public string Key { get; set; }
public string DatabaseId { get; set; }
public string CollectionIdPrefix { get; set; }
public int NumberOfCollections { get; set; }
}
public class MailSettings
{
public string APIKey { get; set; }
public string ReplyToEmail { get; set; }
}
}
}