aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Constants/AuthenticationSchemes.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2023-02-04 10:21:49 -0700
committerGitHub <noreply@github.com>2023-02-04 10:21:49 -0700
commitd1af317d98a6190711af406af17b569844aebbd7 (patch)
tree3422bb577d2821a9798465439e983932690aa2e3 /Jellyfin.Api/Constants/AuthenticationSchemes.cs
parente0519189b25bc4605889e46d9583fea9aef41732 (diff)
parentdfea1229e12764a77f5d392194b1848f80b87042 (diff)
Merge pull request #9215 from Shadowghost/api-scoped-namespace
Diffstat (limited to 'Jellyfin.Api/Constants/AuthenticationSchemes.cs')
-rw-r--r--Jellyfin.Api/Constants/AuthenticationSchemes.cs17
1 files changed, 8 insertions, 9 deletions
diff --git a/Jellyfin.Api/Constants/AuthenticationSchemes.cs b/Jellyfin.Api/Constants/AuthenticationSchemes.cs
index bac3379e7..d5c2253e4 100644
--- a/Jellyfin.Api/Constants/AuthenticationSchemes.cs
+++ b/Jellyfin.Api/Constants/AuthenticationSchemes.cs
@@ -1,13 +1,12 @@
-namespace Jellyfin.Api.Constants
+namespace Jellyfin.Api.Constants;
+
+/// <summary>
+/// Authentication schemes for user authentication in the API.
+/// </summary>
+public static class AuthenticationSchemes
{
/// <summary>
- /// Authentication schemes for user authentication in the API.
+ /// Scheme name for the custom legacy authentication.
/// </summary>
- public static class AuthenticationSchemes
- {
- /// <summary>
- /// Scheme name for the custom legacy authentication.
- /// </summary>
- public const string CustomAuthentication = "CustomAuthentication";
- }
+ public const string CustomAuthentication = "CustomAuthentication";
}