2017-08-11 23:06:31 +02:00
|
|
|
|
using Bit.Core.Models.Business;
|
|
|
|
|
using Bit.Core.Models.Table;
|
2017-08-16 23:08:20 +02:00
|
|
|
|
using System.Threading.Tasks;
|
2017-08-09 23:01:37 +02:00
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Services
|
|
|
|
|
{
|
2017-08-12 04:55:25 +02:00
|
|
|
|
public interface ILicensingService
|
2017-08-09 23:01:37 +02:00
|
|
|
|
{
|
|
|
|
|
bool VerifyOrganizationPlan(Organization organization);
|
2017-08-16 23:08:20 +02:00
|
|
|
|
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);
|
2017-08-09 23:01:37 +02:00
|
|
|
|
}
|
|
|
|
|
}
|