1
0
mirror of https://github.com/bitwarden/server synced 2025-12-20 02:03:46 +00:00

return twofactor enabled property on org users api

This commit is contained in:
Kyle Spearrin
2018-12-19 11:48:36 -05:00
parent 866cfefd80
commit 4a38713c4b
10 changed files with 117 additions and 16 deletions

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using Bit.Core.Enums;
namespace Bit.Core.Models
{
public interface ITwoFactorProvidersUser
{
string TwoFactorProviders { get; }
Dictionary<TwoFactorProviderType, TwoFactorProvider> GetTwoFactorProviders();
Guid? GetUserId();
bool GetPremium();
}
}