1
0
mirror of https://github.com/bitwarden/server synced 2026-01-11 13:03:27 +00:00

feat(global-settings) [PM-20109]: Add WebAuthN global settings.

This commit is contained in:
enmande
2025-12-16 08:22:39 -05:00
parent f7c615cc01
commit f2db9b22bb

View File

@@ -66,6 +66,7 @@ public class GlobalSettings : IGlobalSettings
public virtual NotificationHubPoolSettings NotificationHubPool { get; set; } = new();
public virtual YubicoSettings Yubico { get; set; } = new YubicoSettings();
public virtual DuoSettings Duo { get; set; } = new DuoSettings();
public virtual WebAuthNSettings WebAuthN { get; set; } = new WebAuthNSettings();
public virtual BraintreeSettings Braintree { get; set; } = new BraintreeSettings();
public virtual ImportCiphersLimitationSettings ImportCiphersLimitation { get; set; } = new ImportCiphersLimitationSettings();
public virtual BitPaySettings BitPay { get; set; } = new BitPaySettings();
@@ -613,6 +614,12 @@ public class GlobalSettings : IGlobalSettings
public string AKey { get; set; }
}
public class WebAuthNSettings
{
public int PremiumMaximumAllowedCredentials { get; set; }
public int NonPremiumMaximumAllowedCredentials { get; set; }
}
public class BraintreeSettings
{
public bool Production { get; set; }