Files
server/src/Core/Models/TwoFactorProvider.cs

20 lines
560 B
C#
Raw Normal View History

using System.Collections.Generic;
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; }
}
}
}