2017-06-19 22:08:10 -04:00
|
|
|
|
using System.Collections.Generic;
|
2017-06-06 17:15:19 -04:00
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
public class TwoFactorProvider
|
|
|
|
|
|
{
|
|
|
|
|
|
public bool Enabled { get; set; }
|
2017-06-21 21:46:52 -04:00
|
|
|
|
public Dictionary<string, object> MetaData { get; set; } = new Dictionary<string, object>();
|
|
|
|
|
|
|
|
|
|
|
|
public class U2fMetaData
|
|
|
|
|
|
{
|
|
|
|
|
|
public string KeyHandle { get; set; }
|
|
|
|
|
|
public string PublicKey { get; set; }
|
|
|
|
|
|
public string Certificate { get; set; }
|
2017-06-21 22:33:45 -04:00
|
|
|
|
public uint Counter { get; set; }
|
2017-06-21 21:46:52 -04:00
|
|
|
|
public bool Compromised { get; set; }
|
|
|
|
|
|
}
|
2017-06-06 17:15:19 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|