mirror of
https://github.com/bitwarden/server
synced 2025-12-18 01:03:17 +00:00
initial commit of source
This commit is contained in:
28
src/Core/GlobalSettings.cs
Normal file
28
src/Core/GlobalSettings.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user