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/Authentication | |
| parent | 9bb9c17312742adb65b37fe84bd64e7267defcd8 (diff) | |
| parent | 5133ac9eabc1ddf195002807f97a95ad0ab8d9a0 (diff) | |
| download | slskd-bbbde98f571dc7cd7a0ed35ef7846cc177372920.tar.gz | |
Merge branch 'master' into relay-docs
Diffstat (limited to 'src/slskd/Common/Authentication')
| -rw-r--r-- | src/slskd/Common/Authentication/ApiKeyAuthentication.cs | 2 | ||||
| -rw-r--r-- | src/slskd/Common/Authentication/AuthPolicy.cs | 2 |
2 files changed, 2 insertions, 2 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"; } } |
