btcpayserver/BTCPayServer/U2F/Models/U2FDeviceAuthenticationRequest.cs

15 lines
397 B
C#

using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.U2F.Models
{
public class U2FDeviceAuthenticationRequest
{
public string KeyHandle { get; set; }
[Required] public string Challenge { get; set; }
[Required] [StringLength(200)] public string AppId { get; set; }
[Required] [StringLength(50)] public string Version { get; set; }
}
}