1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 09:13:15 +00:00

auth service

This commit is contained in:
Kyle Spearrin
2019-04-18 09:45:31 -04:00
parent b61355a8fa
commit 43948c65f1
6 changed files with 381 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
using Bit.Core.Enums;
using System.Collections.Generic;
namespace Bit.Core.Models.Domain
{
public class AuthResult
{
public bool TwoFactor { get; set; }
public Dictionary<TwoFactorProviderType, Dictionary<string, object>> TwoFactorProviders { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using Bit.Core.Enums;
namespace Bit.Core.Models.Domain
{
public class TwoFactorProvider
{
public TwoFactorProviderType Type { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public int Priority { get; set; }
public int Sort { get; set; }
public bool Premium { get; set; }
}
}