diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-01-08 13:30:10 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-08 13:30:10 -0600 |
| commit | bbbde98f571dc7cd7a0ed35ef7846cc177372920 (patch) | |
| tree | d711d033bf604444519f98d9854b67d412efcacf /src/slskd/Common | |
| parent | 9bb9c17312742adb65b37fe84bd64e7267defcd8 (diff) | |
| parent | 5133ac9eabc1ddf195002807f97a95ad0ab8d9a0 (diff) | |
| download | slskd-bbbde98f571dc7cd7a0ed35ef7846cc177372920.tar.gz | |
Merge branch 'master' into relay-docs
Diffstat (limited to 'src/slskd/Common')
| -rw-r--r-- | src/slskd/Common/Authentication/ApiKeyAuthentication.cs | 2 | ||||
| -rw-r--r-- | src/slskd/Common/Authentication/AuthPolicy.cs | 2 | ||||
| -rw-r--r-- | src/slskd/Common/CommonExtensions.cs | 4 |
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> |
