public EncryptionTokenProvider(IStringCryptoTransformer crypto,
     IConfigurationValueProvider configProvider)
 {
     this.crypto = crypto;
     this.configProvider = configProvider;
     this.volatileDataProvider = new TokenDateTimeProvider();
 }
 public EncryptionTokenProvider(IStringCryptoTransformer crypto,
     IConfigurationValueProvider configProvider,
     ITokenVolatileDataProvider volatileDataProvider)
     : this(crypto, configProvider)
 {
     ErrorTrap.AddRaisableAssertion<ArgumentNullException>(volatileDataProvider != null,
         "volatileDataProvider != null");
     this.volatileDataProvider = volatileDataProvider;
 }