aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs')
-rw-r--r--Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs31
1 files changed, 11 insertions, 20 deletions
diff --git a/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs b/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
index 41f7b169e..70c18a98a 100644
--- a/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
+++ b/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
@@ -1,26 +1,17 @@
-using System;
+namespace Jellyfin.Api.Models.UserDtos;
-namespace Jellyfin.Api.Models.UserDtos
+/// <summary>
+/// The authenticate user by name request body.
+/// </summary>
+public class AuthenticateUserByName
{
/// <summary>
- /// The authenticate user by name request body.
+ /// Gets or sets the username.
/// </summary>
- public class AuthenticateUserByName
- {
- /// <summary>
- /// Gets or sets the username.
- /// </summary>
- public string? Username { get; set; }
+ public string? Username { get; set; }
- /// <summary>
- /// Gets or sets the plain text password.
- /// </summary>
- public string? Pw { get; set; }
-
- /// <summary>
- /// Gets or sets the sha1-hashed password.
- /// </summary>
- [Obsolete("Send password using pw field")]
- public string? Password { get; set; }
- }
+ /// <summary>
+ /// Gets or sets the plain text password.
+ /// </summary>
+ public string? Pw { get; set; }
}