1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

added two factor providers to user object

This commit is contained in:
Kyle Spearrin
2017-06-06 17:15:19 -04:00
parent 7b1c0d6df1
commit 811bbbfe0a
6 changed files with 23 additions and 1 deletions

View File

@ -17,6 +17,7 @@ namespace Bit.Core.Models.Table
public bool TwoFactorEnabled { get; set; }
public TwoFactorProviderType? TwoFactorProvider { get; set; }
public string AuthenticatorKey { get; set; }
public string TwoFactorProviders { get; set; }
public string TwoFactorRecoveryCode { get; set; }
public string EquivalentDomains { get; set; }
public string ExcludedGlobalEquivalentDomains { get; set; }

View File

@ -0,0 +1,12 @@
using Bit.Core.Enums;
using System.Collections.Generic;
namespace Bit.Core.Models
{
public class TwoFactorProvider
{
public bool Enabled { get; set; }
public bool Remember { get; set; }
public Dictionary<string, object> MetaData { get; set; }
}
}