Files
server/src/Core/Identity/IOrganizationTwoFactorTokenProvider.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
368 B
C#
Raw Normal View History

using Bit.Core.Entities;
2018-04-03 14:31:33 -04:00
namespace Bit.Core.Identity
{
public interface IOrganizationTwoFactorTokenProvider
{
Task<bool> CanGenerateTwoFactorTokenAsync(Organization organization);
Task<string> GenerateAsync(Organization organization, User user);
Task<bool> ValidateAsync(string token, Organization organization, User user);
}
}