diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-01-07 18:54:29 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-07 18:54:29 -0600 |
| commit | ff5f0ac6c93f2b49ba259e7093fb92fa873116c6 (patch) | |
| tree | 89a57703213c524f09346aac4fcf3a9ee8b3cf04 /src/slskd/Common/Authentication | |
| parent | d5eabb72a5c5a3aed06f0c4b8f66c853468b889b (diff) | |
| parent | f07a7758b47388c793d73ca54727db95abfcd229 (diff) | |
| download | slskd-ff5f0ac6c93f2b49ba259e7093fb92fa873116c6.tar.gz | |
Merge pull request #827 from slskd/relay-debug
Miscellaneous Relay refactoring and bugfixes
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"; } } |
