mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
* init u2f * ux fixes * Cleanup Manage Controller * final changes * remove logs * remove console log * fix text for u2f * Use Is Secure instead of IsHttps * add some basic u2f tests * move loaders to before title * missing commit * refactor after nicolas wtf moment
29 lines
716 B
C#
29 lines
716 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BTCPayServer.Services.U2F.Models
|
|
{
|
|
public class LoginWithU2FViewModel
|
|
{
|
|
public string UserId { get; set; }
|
|
[Required]
|
|
[Display(Name = "App id")]
|
|
public string AppId { get; set; }
|
|
|
|
[Required]
|
|
[Display(Name = "Version")]
|
|
public string Version { get; set; }
|
|
|
|
[Required]
|
|
[Display(Name = "Device Response")]
|
|
public string DeviceResponse { get; set; }
|
|
|
|
[Display(Name = "Challenges")]
|
|
public string Challenges { get; set; }
|
|
|
|
[Display(Name = "Challenge")]
|
|
public string Challenge { get; set; }
|
|
|
|
public bool RememberMe { get; set; }
|
|
}
|
|
}
|