1
0
mirror of https://github.com/bitwarden/server synced 2025-12-19 09:43:25 +00:00

Queue ip addresses for block whenever they exceed the rate limit too much

This commit is contained in:
Kyle Spearrin
2016-11-30 21:51:43 -05:00
parent 2d045859e7
commit b87c9c1a5a
7 changed files with 93 additions and 10 deletions

View File

@@ -8,14 +8,19 @@
public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings();
public virtual MailSettings Mail { get; set; } = new MailSettings();
public virtual LoggrSettings Loggr { get; set; } = new LoggrSettings();
public virtual CacheSettings Cache { get; set; } = new CacheSettings();
public virtual PushSettings Push { get; set; } = new PushSettings();
public virtual StorageSettings Storage { get; set; } = new StorageSettings();
public class SqlServerSettings
{
public string ConnectionString { get; set; }
}
public class StorageSettings
{
public string ConnectionString { get; set; }
}
public class MailSettings
{
public string ApiKey { get; set; }
@@ -28,12 +33,6 @@
public string ApiKey { get; set; }
}
public class CacheSettings
{
public string ConnectionString { get; set; }
public int Database { get; set; }
}
public class PushSettings
{
public string ApnsCertificateThumbprint { get; set; }