mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 22:07:13 -04:00
27 lines
662 B
C#
27 lines
662 B
C#
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; }
|
|
}
|
|
}
|