jellyfin-server/Jellyfin.Api/Models/UserDtos/AuthenticateUserByName.cs

27 lines
662 B
C#
Raw Normal View History

2021-04-22 02:46:15 +00:00
using System;
namespace Jellyfin.Api.Models.UserDtos
{
2020-06-18 17:35:29 +00:00
/// <summary>
/// The authenticate user by name request body.
/// </summary>
public class AuthenticateUserByName
{
2020-06-18 17:35:29 +00:00
/// <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>
2021-04-22 02:46:15 +00:00
[Obsolete("Send password using pw field")]
2020-06-18 17:35:29 +00:00
public string? Password { get; set; }
}
}