1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-29 07:14:50 -05:00
bitwarden/src/Api/Auth/Models/Request/Accounts/PasswordRequestModel.cs

16 lines
435 B
C#

using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Auth.Models.Request.Accounts;
public class PasswordRequestModel : SecretVerificationRequestModel
{
[Required]
[StringLength(300)]
public string NewMasterPasswordHash { get; set; }
[StringLength(50)]
public string MasterPasswordHint { get; set; }
[Required]
public string Key { get; set; }
public string OpaqueSessionId { get; set; }
}