aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Common
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Common')
-rw-r--r--src/slskd/Common/Authentication/ApiKeyAuthentication.cs2
-rw-r--r--src/slskd/Common/Authentication/AuthPolicy.cs2
-rw-r--r--src/slskd/Common/CommonExtensions.cs4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
index a41a9d59..7c6c9235 100644
--- a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
+++ b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
@@ -34,7 +34,7 @@ namespace slskd.Authentication
/// <summary>
/// Gets the API key authentication scheme name.
/// </summary>
- public static string AuthenticationScheme { get; } = "API Key";
+ public static string AuthenticationScheme { get; } = "ApiKey";
}
/// <summary>
diff --git a/src/slskd/Common/Authentication/AuthPolicy.cs b/src/slskd/Common/Authentication/AuthPolicy.cs
index 040104da..47d430c9 100644
--- a/src/slskd/Common/Authentication/AuthPolicy.cs
+++ b/src/slskd/Common/Authentication/AuthPolicy.cs
@@ -23,7 +23,7 @@ namespace slskd
public static class AuthPolicy
{
public const string JwtOnly = "Jwt";
- public const string ApiKeyOnly = "ApiKeyOnly";
+ public const string ApiKeyOnly = "ApiKey";
public const string Any = "Any";
}
}
diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs
index 3ccc72e9..3dddd3b4 100644
--- a/src/slskd/Common/CommonExtensions.cs
+++ b/src/slskd/Common/CommonExtensions.cs
@@ -302,7 +302,7 @@ namespace slskd
}
/// <summary>
- /// <see cref="Path.GetDirectoryName"/>, but for paths normalized to use backslashes.
+ /// <see cref="Path.GetDirectoryName(string)"/>, but for paths normalized to use backslashes.
/// </summary>
/// <param name="path"></param>
/// <returns></returns>
@@ -312,7 +312,7 @@ namespace slskd
}
/// <summary>
- /// <see cref="Path.GetFileName"/>, but for paths normalized to use backslashes.
+ /// <see cref="Path.GetFileName(string)"/>, but for paths normalized to use backslashes.
/// </summary>
/// <param name="path"></param>
/// <returns></returns>