public EncryptedFieldServiceFactory(IEncryptedFieldSettingsFactory settingsFactory, IEncryptionServiceFactory encryptionServiceFactory, IUserRoleEvaluator roleEvaluator, IEncryptedFieldAccessLoggerFactory accessLoggerFactory)
 {
     this.SettingsFactory          = settingsFactory ?? throw new ArgumentNullException("settingsFactory");
     this.EncryptionServiceFactory = encryptionServiceFactory ?? throw new ArgumentNullException("encryptionServiceFactory");
     this.RoleEvaluator            = roleEvaluator ?? throw new ArgumentNullException("roleEvaluator");
     this.AccessLoggerFactory      = accessLoggerFactory;
 }
 public EncryptedFieldServiceFactoryNoLogging(IEncryptedFieldSettingsFactory settingsFactory, IEncryptionServiceFactory encryptionServiceFactory, IUserRoleEvaluator roleEvaluator)
     : base(settingsFactory, encryptionServiceFactory, roleEvaluator, null)
 {
 }
 public DefaultEncryptionServiceFactory(IEncryptedFieldSettingsFactory settingsFactory)
 {
     SettingsFactory = settingsFactory;
 }
Example #4
0
 public AzureSecretEncryptionServiceFactory(IEncryptedFieldSettingsFactory settingsFactory, ISecretProviderFactory secretProviderFactory)
 {
     SettingsFactory       = settingsFactory;
     SecretProviderFactory = secretProviderFactory;
 }