mirror of
https://github.com/bitwarden/server.git
synced 2025-04-23 22:15:10 -05:00
17 lines
505 B
C#
17 lines
505 B
C#
using Bit.Core.Entities;
|
|
using Bit.Core.Models.Business;
|
|
|
|
namespace Bit.Core.Services;
|
|
|
|
public interface ILicensingService
|
|
{
|
|
Task ValidateOrganizationsAsync();
|
|
Task ValidateUsersAsync();
|
|
Task<bool> ValidateUserPremiumAsync(User user);
|
|
bool VerifyLicense(ILicense license);
|
|
byte[] SignLicense(ILicense license);
|
|
Task<OrganizationLicense> ReadOrganizationLicenseAsync(Organization organization);
|
|
Task<OrganizationLicense> ReadOrganizationLicenseAsync(Guid organizationId);
|
|
|
|
}
|