mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 09:13:15 +00:00
auth service
This commit is contained in:
11
src/Core/Models/Domain/AuthResult.cs
Normal file
11
src/Core/Models/Domain/AuthResult.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
src/Core/Models/Domain/TwoFactorProvider.cs
Normal file
14
src/Core/Models/Domain/TwoFactorProvider.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user