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:
14
src/Core/Models/ITwoFactorProvidersUser.cs
Normal file
14
src/Core/Models/ITwoFactorProvidersUser.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user