aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-20 16:26:42 -0600
committercrobibero <cody@robibe.ro>2020-06-20 16:26:42 -0600
commitb603742a77bc67a1b689ab88b278be2b9c07480e (patch)
tree295999fb1e616fa489805fa3b1da08c792c13d71 /Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
parentcd273c4e98246420edf39ef63c906fbc3725d8e4 (diff)
parentdeac459b62de53ed3db0e24fe1ebde95bf10dccd (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-image-service
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; }
+ }
+}