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:
@ -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; }
|
||||
|
12
src/Core/Models/TwoFactorProvider.cs
Normal file
12
src/Core/Models/TwoFactorProvider.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user