aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-01-20 11:15:23 -0600
committerGitHub <noreply@github.com>2024-01-20 11:15:23 -0600
commit9c0a10048e34106fdf744cb2351da6a5b6f6223d (patch)
tree609f0f7c6645fc1f6bf05c1c413b881f8dd1971a /src/slskd/Common/Authentication/ApiKeyAuthentication.cs
parent8bfce5d955aeea9a95ee76a5eecd5fa77454425a (diff)
parent84acaed78564bed6c251de7b0d94bea43fecc7dc (diff)
downloadslskd-9c0a10048e34106fdf744cb2351da6a5b6f6223d.tar.gz
Merge pull request #1035 from slskd/quotas
Add configurable limits for number (and size) of queued files, daily and weekly completions
Diffstat (limited to 'src/slskd/Common/Authentication/ApiKeyAuthentication.cs')
-rw-r--r--src/slskd/Common/Authentication/ApiKeyAuthentication.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
index 7c6c9235..b27c4c05 100644
--- a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
+++ b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
@@ -96,7 +96,9 @@ namespace slskd.Authentication
/// <summary>
/// API key authentication options.
/// </summary>
+#pragma warning disable S2094 // Classes should not be empty
public class ApiKeyAuthenticationOptions : AuthenticationSchemeOptions
+#pragma warning restore S2094 // Classes should not be empty
{
}
}