mirror of
https://github.com/bitwarden/server
synced 2025-12-28 14:13:48 +00: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);
|
|
}
|
|
}
|