AuthenticateUserByName.cs 662 B

1234567891011121314151617181920212223242526
  1. using System;
  2. namespace Jellyfin.Api.Models.UserDtos
  3. {
  4. /// <summary>
  5. /// The authenticate user by name request body.
  6. /// </summary>
  7. public class AuthenticateUserByName
  8. {
  9. /// <summary>
  10. /// Gets or sets the username.
  11. /// </summary>
  12. public string? Username { get; set; }
  13. /// <summary>
  14. /// Gets or sets the plain text password.
  15. /// </summary>
  16. public string? Pw { get; set; }
  17. /// <summary>
  18. /// Gets or sets the sha1-hashed password.
  19. /// </summary>
  20. [Obsolete("Send password using pw field")]
  21. public string? Password { get; set; }
  22. }
  23. }