Exemplo n.º 1
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;
 }
Exemplo n.º 2
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;
 }
Exemplo n.º 3
0
 public DefaultLicenseInformationProvider(ILicenseStorage licenseStorage, ILicensePublicKeyStorage publicKeyStorage)
 {
     this.licenseStorage   = licenseStorage;
     this.publicKeyStorage = publicKeyStorage;
 }
Exemplo n.º 4
0
 public DefaultLicenseValidator(ILicensePublicKeyStorage publicKeyStorage)
 => this.publicKeyStorage = publicKeyStorage;