public async Task ShieldToken() { var init = new InitiationService(this._configuration, this._logger); var url = await init.GetRedirectUriForShieldTokenAsync(Guid.NewGuid().ToString(), ReturnUrl).ConfigureAwait(false); //TODO: Set path to your browser Process.Start(@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", url.AbsoluteUri); }
public async Task Sync() { var init = new InitiationService(this._configuration, this._logger); var url = await init.GetRedirectUriForSyncAccountsAsync(Guid.NewGuid().ToString(), ReturnUrl, new List <string> { "A476900205707853831.1" }).ConfigureAwait(false); //TODO: Set path to your browser Process.Start(@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", url.AbsoluteUri); }
/// <summary> /// Gets InitiationService /// </summary> public InitiationService GetInitiationService() { if (initiationService == null) { initiationService = new InitiationService(); initiationService.ResourcePath = ResourcePath.INITIATION_RESOURCE_PATH; configureService(initiationService); initiationService.ModelService = GetModelService(); initiationService.MeasureService = GetMeasureService(); initiationService.PeriodicityService = GetPeriodNameService(); initiationService.FileService = GetFileService(); } return(initiationService); }