mirror of
https://github.com/bitwarden/server.git
synced 2024-12-02 13:53:23 +01:00
16 lines
404 B
C#
16 lines
404 B
C#
using Bit.Core.Models.Business;
|
|
using Bit.Core.Models.Table;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Bit.Core.Services
|
|
{
|
|
public interface ILicensingService
|
|
{
|
|
Task ValidateOrganizationsAsync();
|
|
Task ValidateUsersAsync();
|
|
Task<bool> ValidateUserPremiumAsync(User user);
|
|
bool VerifyLicense(ILicense license);
|
|
byte[] SignLicense(ILicense license);
|
|
}
|
|
}
|