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:
@@ -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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user