Esempio n. 1
0
 public LicenseService(
     ILicenseStorage licenseStorage,
     ILicenseChecker licenseChecker)
 {
     _licenseStorage = licenseStorage;
     _licenseChecker = licenseChecker;
 }
Esempio n. 2
0
 public RequestTrialCommandHandler(
     ILicenseClient licenseClient,
     IDeviceIdProvider deviceIdProvider,
     IUserInfoProvider userInfoProvider,
     ILicenseStorage licenseStorage,
     ILicensePublicKeyStorage publicKeyStorage,
     ILicenseValidator licenseValidator,
     ILicenseInformationProvider licenseInformationProvider,
     ILogger <RequestTrialCommandHandler> logger
     )
 {
     this.licenseClient              = licenseClient;
     this.deviceIdProvider           = deviceIdProvider;
     this.userInfoProvider           = userInfoProvider;
     this.licenseStorage             = licenseStorage;
     this.publicKeyStorage           = publicKeyStorage;
     this.licenseValidator           = licenseValidator;
     this.licenseInformationProvider = licenseInformationProvider;
     this.logger = logger;
 }
Esempio n. 3
0
 public LogoutCommandHandler(
     HttpClient httpClient,
     IUserProfileProvider userProfileProvider,
     ILogger <LoginCommandHandler> logger,
     ITokenStorage tokenStorage,
     DefaultConfigurationProvider configurationProvider,
     DefaultDiscoveryProvider discoveryProvider,
     ILicensePublicKeyStorage licensePublicKeyStorage,
     ILicenseStorage licenseStorage
     )
 {
     this.httpClient          = httpClient;
     this.userProfileProvider = userProfileProvider;
     this.logger                  = logger;
     this.tokenStorage            = tokenStorage;
     this.configurationProvider   = configurationProvider;
     this.discoveryProvider       = discoveryProvider;
     this.licensePublicKeyStorage = licensePublicKeyStorage;
     this.licenseStorage          = licenseStorage;
 }
Esempio n. 4
0
 public DefaultLicenseInformationProvider(ILicenseStorage licenseStorage, ILicensePublicKeyStorage publicKeyStorage)
 {
     this.licenseStorage   = licenseStorage;
     this.publicKeyStorage = publicKeyStorage;
 }