1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-20 11:04:31 -05:00
bitwarden/src/Api/Models/Request/Accounts/PasswordRequestModel.cs

17 lines
412 B
C#

using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Models
{
public class PasswordRequestModel
{
[Required]
[StringLength(300)]
public string MasterPasswordHash { get; set; }
[Required]
[StringLength(300)]
public string NewMasterPasswordHash { get; set; }
[Required]
public CipherRequestModel[] Ciphers { get; set; }
}
}