2021-04-22 02:46:15 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Jellyfin.Api.Models.UserDtos
|
2020-06-18 16:09:58 +00:00
|
|
|
|
{
|
2020-06-18 17:35:29 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The authenticate user by name request body.
|
|
|
|
|
/// </summary>
|
2020-06-18 16:09:58 +00:00
|
|
|
|
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; }
|
2020-06-18 16:09:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|