mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +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
24 lines
603 B
C#
24 lines
603 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using BTCPayServer.Models;
|
|
|
|
namespace BTCPayServer.Services.U2F.Models
|
|
{
|
|
public class U2FDevice
|
|
{
|
|
public string Id { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
[Required] public byte[] KeyHandle { get; set; }
|
|
|
|
[Required] public byte[] PublicKey { get; set; }
|
|
|
|
[Required] public byte[] AttestationCert { get; set; }
|
|
|
|
[Required] public int Counter { get; set; }
|
|
|
|
public string ApplicationUserId { get; set; }
|
|
public ApplicationUser ApplicationUser { get; set; }
|
|
}
|
|
}
|