Files
server/src/Api/Models/Request/AuthTokenRequestModel.cs

15 lines
314 B
C#
Raw Normal View History

2015-12-08 22:57:38 -05:00
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Models
{
public class AuthTokenRequestModel
{
[Required]
[EmailAddress]
[StringLength(50)]
2015-12-08 22:57:38 -05:00
public string Email { get; set; }
[Required]
public string MasterPasswordHash { get; set; }
}
}