using System.Threading.Tasks; using Bit.Core.Models.Table; namespace Bit.Core.Identity { public interface IOrganizationTwoFactorTokenProvider { Task CanGenerateTwoFactorTokenAsync(Organization organization); Task GenerateAsync(Organization organization, User user); Task ValidateAsync(string token, Organization organization, User user); } }