1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 16:23:31 +00:00

stubbing out api setup for u2f

This commit is contained in:
Kyle Spearrin
2017-06-21 21:46:52 -04:00
parent 03f3118182
commit fd5e2c9466
16 changed files with 170 additions and 64 deletions

View File

@@ -5,6 +5,15 @@ namespace Bit.Core.Models
public class TwoFactorProvider
{
public bool Enabled { get; set; }
public Dictionary<string, string> MetaData { get; set; } = new Dictionary<string, string>();
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; }
public int Counter { get; set; }
public bool Compromised { get; set; }
}
}
}