aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
diff options
context:
space:
mode:
authorDavid <daullmer@gmail.com>2020-06-18 19:35:29 +0200
committerDavid <daullmer@gmail.com>2020-06-18 19:35:29 +0200
commit77bea567082528be3d1da09ed214ec0a1e192a97 (patch)
tree6728a2ef53b5181c5fadee78b9674a87bbb1411a /Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
parent762eeb51e66368e5f6fdede7b6fab84ea5859107 (diff)
Add request body models
Diffstat (limited to 'Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs')
-rw-r--r--Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs20
1 files changed, 17 insertions, 3 deletions
diff --git a/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs b/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
index 00b90a925..393627435 100644
--- a/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
+++ b/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
@@ -1,9 +1,23 @@
namespace Jellyfin.Api.Models.UserDtos
{
+ /// <summary>
+ /// The authenticate user by name request body.
+ /// </summary>
public class AuthenticateUserByName
{
- public string Username { get; set; }
- public string Pw { get; set; }
- public string Password { get; set; }
+ /// <summary>
+ /// Gets or sets the username.
+ /// </summary>
+ 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>
+ public string? Password { get; set; }
}
}