UpdateUserPassword.cs 705 B

123456789101112131415161718192021222324252627
  1. namespace Jellyfin.Api.Models.UserDtos;
  2. /// <summary>
  3. /// The update user password request body.
  4. /// </summary>
  5. public class UpdateUserPassword
  6. {
  7. /// <summary>
  8. /// Gets or sets the current sha1-hashed password.
  9. /// </summary>
  10. public string? CurrentPassword { get; set; }
  11. /// <summary>
  12. /// Gets or sets the current plain text password.
  13. /// </summary>
  14. public string? CurrentPw { get; set; }
  15. /// <summary>
  16. /// Gets or sets the new plain text password.
  17. /// </summary>
  18. public string? NewPw { get; set; }
  19. /// <summary>
  20. /// Gets or sets a value indicating whether to reset the password.
  21. /// </summary>
  22. public bool ResetPassword { get; set; }
  23. }