/// <summary> /// Initializes a new instance of the <see cref="SmartCommFileConfiguration" /> class. /// </summary> public SmartCommFileConfiguration(IAppSettings appSettings, IKeyVaultSettings keyVaultSettings) { this.OAuthConsumerSecret = keyVaultSettings.OAuthConsumerSecret; // this.GetAppSetting("SmartCommConsumerKey", string.Empty); this.OAuthTokenSecret = keyVaultSettings.OAuthSecretKey; // this.GetAppSetting("SmartCommSecretKey", string.Empty); this.UserId = appSettings.UserId; // this.GetAppSetting("SmartCommUserID", string.Empty); this.OAuthUrl = appSettings.OAuthUrl; // this.GetAppSetting("SmartCommRestURL", string.Empty); //this.JobQueue = appSettings.JobQueue;// this.GetAppSetting("SmartCommJobQueue", string.Empty); //this.ActivityLoggerApiUrl = appSettings.ActivityLoggerApiUrl;// this.GetAppSetting("ActivityLoggerApiUrl", string.Empty); }
public KeyVaultRepository(IKeyVaultSettings keyVaultSettings) { _keyVaultSettings = keyVaultSettings ?? throw new ArgumentNullException(nameof(keyVaultSettings)); }