diff --git a/src/Microsoft.AspNet.Security.DataProtection.Azure/BlobStorageXmlRepository.cs b/src/Microsoft.AspNet.Security.DataProtection.Azure/BlobStorageXmlRepository.cs index a08027f6a8..952b8ce28f 100644 --- a/src/Microsoft.AspNet.Security.DataProtection.Azure/BlobStorageXmlRepository.cs +++ b/src/Microsoft.AspNet.Security.DataProtection.Azure/BlobStorageXmlRepository.cs @@ -25,7 +25,7 @@ namespace Microsoft.AspNet.Security.DataProtection.Azure internal static readonly XNamespace XmlNamespace = XNamespace.Get("http://www.asp.net/dataProtection/2014/azure"); internal static readonly XName KeyRingElementName = XmlNamespace.GetName("keyRing"); - public BlobStorageXmlRepository([NotNull] IOptionsAccessor optionsAccessor) + public BlobStorageXmlRepository([NotNull] IOptions optionsAccessor) { Directory = optionsAccessor.Options.Directory; CryptoUtil.Assert(Directory != null, "Directory != null"); diff --git a/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/CngCbcAuthenticatedEncryptorConfigurationFactory.cs b/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/CngCbcAuthenticatedEncryptorConfigurationFactory.cs index 375a7dc961..22b254fe85 100644 --- a/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/CngCbcAuthenticatedEncryptorConfigurationFactory.cs +++ b/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/CngCbcAuthenticatedEncryptorConfigurationFactory.cs @@ -14,7 +14,7 @@ namespace Microsoft.AspNet.Security.DataProtection.AuthenticatedEncryption { private readonly CngCbcAuthenticatedEncryptorConfigurationOptions _options; - public CngCbcAuthenticatedEncryptorConfigurationFactory([NotNull] IOptionsAccessor optionsAccessor) + public CngCbcAuthenticatedEncryptorConfigurationFactory([NotNull] IOptions optionsAccessor) { _options = optionsAccessor.Options.Clone(); } diff --git a/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/CngGcmAuthenticatedEncryptorConfigurationFactory.cs b/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/CngGcmAuthenticatedEncryptorConfigurationFactory.cs index ac074377f8..b184da69ab 100644 --- a/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/CngGcmAuthenticatedEncryptorConfigurationFactory.cs +++ b/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/CngGcmAuthenticatedEncryptorConfigurationFactory.cs @@ -14,7 +14,7 @@ namespace Microsoft.AspNet.Security.DataProtection.AuthenticatedEncryption { private readonly CngGcmAuthenticatedEncryptorConfigurationOptions _options; - public CngGcmAuthenticatedEncryptorConfigurationFactory([NotNull] IOptionsAccessor optionsAccessor) + public CngGcmAuthenticatedEncryptorConfigurationFactory([NotNull] IOptions optionsAccessor) { _options = optionsAccessor.Options.Clone(); } diff --git a/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/ManagedAuthenticatedEncryptorConfigurationFactory.cs b/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/ManagedAuthenticatedEncryptorConfigurationFactory.cs index 41cb60213e..50fee4ab58 100644 --- a/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/ManagedAuthenticatedEncryptorConfigurationFactory.cs +++ b/src/Microsoft.AspNet.Security.DataProtection/AuthenticatedEncryption/ManagedAuthenticatedEncryptorConfigurationFactory.cs @@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Security.DataProtection.AuthenticatedEncryption { private readonly ManagedAuthenticatedEncryptorConfigurationOptions _options; - public ManagedAuthenticatedEncryptorConfigurationFactory([NotNull] IOptionsAccessor optionsAccessor) + public ManagedAuthenticatedEncryptorConfigurationFactory([NotNull] IOptions optionsAccessor) { _options = optionsAccessor.Options.Clone(); } diff --git a/src/Microsoft.AspNet.Security.DataProtection/DefaultDataProtectionProvider.cs b/src/Microsoft.AspNet.Security.DataProtection/DefaultDataProtectionProvider.cs index d933097799..98ebba69dd 100644 --- a/src/Microsoft.AspNet.Security.DataProtection/DefaultDataProtectionProvider.cs +++ b/src/Microsoft.AspNet.Security.DataProtection/DefaultDataProtectionProvider.cs @@ -26,7 +26,7 @@ namespace Microsoft.AspNet.Security.DataProtection } public DefaultDataProtectionProvider( - [NotNull] IOptionsAccessor optionsAccessor, + [NotNull] IOptions optionsAccessor, [NotNull] IKeyManager keyManager) { KeyRingBasedDataProtectionProvider rootProvider = new KeyRingBasedDataProtectionProvider(new KeyRingProvider(keyManager));