mirror of
https://github.com/bitwarden/server
synced 2025-12-18 01:03:17 +00:00
new uri settings
This commit is contained in:
@@ -4,10 +4,8 @@
|
||||
{
|
||||
public bool SelfHosted { get; set; }
|
||||
public virtual string SiteName { get; set; }
|
||||
public virtual string BaseVaultUri { get; set; }
|
||||
public virtual string BaseApiUri { get; set; }
|
||||
public virtual string BaseIdentityUri { get; set; }
|
||||
public virtual string StripeApiKey { get; set; }
|
||||
public virtual BaseServiceUriSettings BaseServiceUri { get; set; } = new BaseServiceUriSettings();
|
||||
public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings();
|
||||
public virtual MailSettings Mail { get; set; } = new MailSettings();
|
||||
public virtual StorageSettings Storage { get; set; } = new StorageSettings();
|
||||
@@ -18,9 +16,16 @@
|
||||
public virtual NotificationHubSettings NotificationHub { get; set; } = new NotificationHubSettings();
|
||||
public virtual YubicoSettings Yubico { get; set; } = new YubicoSettings();
|
||||
public virtual DuoSettings Duo { get; set; } = new DuoSettings();
|
||||
public virtual U2fSettings U2f { get; set; } = new U2fSettings();
|
||||
public virtual BraintreeSettings Braintree { get; set; } = new BraintreeSettings();
|
||||
|
||||
public class BaseServiceUriSettings
|
||||
{
|
||||
public string Vault { get; set; }
|
||||
public string Api { get; set; }
|
||||
public string Identity { get; set; }
|
||||
public string InternalIdentity { get; set; }
|
||||
}
|
||||
|
||||
public class SqlServerSettings
|
||||
{
|
||||
public string ConnectionString { get; set; }
|
||||
@@ -86,11 +91,6 @@
|
||||
public string AKey { get; set; }
|
||||
}
|
||||
|
||||
public class U2fSettings
|
||||
{
|
||||
public string AppId { get; set; }
|
||||
}
|
||||
|
||||
public class BraintreeSettings
|
||||
{
|
||||
public bool Production { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user