aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs
blob: 41f7b169eb32f5546c52c63f8c9c52300e6d3abc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;

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>
        [Obsolete("Send password using pw field")]
        public string? Password { get; set; }
    }
}