You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|