aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
diff options
context:
space:
mode:
authorDavid Ullmer <daullmer@gmail.com>2020-06-20 20:45:16 +0200
committerDavid Ullmer <daullmer@gmail.com>2020-06-20 20:45:16 +0200
commitd4c86b82e03352f7bab92f5fe05686891af1cd3e (patch)
tree01217f621de90c0d95ae5b5dddfec0e32308ba2c /Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
parenta5bd7f2d6ee0fef67c34f61db9be36167c30d890 (diff)
parent804764e1fbf71e083479fc4069f90bab96faa84f (diff)
Merge remote-tracking branch 'remotes/upstream/api-migration' into api-sessionservice
# Conflicts: # Jellyfin.Api/Helpers/RequestHelpers.cs
Diffstat (limited to 'Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs')
-rw-r--r--Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs b/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
new file mode 100644
index 000000000..393627435
--- /dev/null
+++ b/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
@@ -0,0 +1,23 @@
+namespace Jellyfin.Api.Models.UserDtos
+{
+ /// <summary>
+ /// The authenticate user by name request body.
+ /// </summary>
+ public class AuthenticateUserByName
+ {
+ /// <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; }
+ }
+}