16 lines
530 B
C#
16 lines
530 B
C#
using System.Collections.Generic;
|
|
using Bit.Core.Enums;
|
|
|
|
namespace Bit.Core.Models.Domain
|
|
{
|
|
public class AuthResult
|
|
{
|
|
public bool TwoFactor { get; set; }
|
|
public bool CaptchaNeeded => !string.IsNullOrWhiteSpace(CaptchaSiteKey);
|
|
public string CaptchaSiteKey { get; set; }
|
|
public bool ResetMasterPassword { get; set; }
|
|
public bool ForcePasswordReset { get; set; }
|
|
public Dictionary<TwoFactorProviderType, Dictionary<string, object>> TwoFactorProviders { get; set; }
|
|
}
|
|
}
|