1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-04 14:13:28 +01:00
bitwarden-server/src/Core/Services/ILicensingService.cs

15 lines
388 B
C#
Raw Normal View History

2017-08-11 23:06:31 +02:00
using Bit.Core.Models.Business;
using Bit.Core.Models.Table;
using System.Threading.Tasks;
namespace Bit.Core.Services
{
2017-08-12 04:55:25 +02:00
public interface ILicensingService
{
bool VerifyOrganizationPlan(Organization organization);
Task<bool> VerifyUserPremiumAsync(User user);
2017-08-11 23:06:31 +02:00
bool VerifyLicense(ILicense license);
2017-08-12 04:55:25 +02:00
byte[] SignLicense(ILicense license);
}
}