btcpayserver/BTCPayServer/U2F/Models/U2FDeviceAuthenticationRequest.cs

15 lines
405 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Services.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; }
}
}