mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-17 08:43:27 +00:00
20 lines
632 B
C#
20 lines
632 B
C#
using Bit.Core.Enums;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Bit.Core.Models
|
|
{
|
|
public class LoginResult
|
|
{
|
|
public bool Success { get; set; }
|
|
public string ErrorMessage { get; set; }
|
|
public bool TwoFactorRequired => TwoFactorProviders != null && TwoFactorProviders.Count > 0;
|
|
public Dictionary<TwoFactorProviderType, Dictionary<string, object>> TwoFactorProviders { get; set; }
|
|
public string MasterPasswordHash { get; set; }
|
|
public List<Organization> Organizations { get; set; }
|
|
}
|
|
}
|