aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/Options.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-09-10 12:40:03 -0500
committerGitHub <noreply@github.com>2022-09-10 12:40:03 -0500
commit3d657ed87cfdab4089c72d9e6532d9b2cc83aa4e (patch)
tree848ead506fa36e922bf9db2d3f45f6398fdac8b8 /src/slskd/Core/Options.cs
parent25191b8b7c8fa08484e2b7eb4efe4a1398cb1ab5 (diff)
parent1955793824df698ce1f4aa3a130d327e20875efd (diff)
downloadslskd-3d657ed87cfdab4089c72d9e6532d9b2cc83aa4e.tar.gz
Merge pull request #637 from slskd/db-metadata
Refactor shared file cache to store all data on disk
Diffstat (limited to 'src/slskd/Core/Options.cs')
-rw-r--r--src/slskd/Core/Options.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 259977b6..d6d4b04c 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -755,12 +755,12 @@ namespace slskd
/// Gets metrics endpoint authentication options.
/// </summary>
[Validate]
- public AuthenticationOptions Authentication { get; init; } = new AuthenticationOptions();
+ public MetricsAuthenticationOptions Authentication { get; init; } = new MetricsAuthenticationOptions();
/// <summary>
/// Metrics endpoint authentication options.
/// </summary>
- public class AuthenticationOptions
+ public class MetricsAuthenticationOptions
{
/// <summary>
/// Gets a value indicating whether authentication should be disabled.
@@ -1114,12 +1114,12 @@ namespace slskd
/// Gets authentication options.
/// </summary>
[Validate]
- public AuthenticationOptions Authentication { get; init; } = new AuthenticationOptions();
+ public WebAuthenticationOptions Authentication { get; init; } = new WebAuthenticationOptions();
/// <summary>
/// Authentication options.
/// </summary>
- public class AuthenticationOptions
+ public class WebAuthenticationOptions
{
/// <summary>
/// Gets a value indicating whether authentication should be disabled.