diff --git a/src/Microsoft.AspNet.Security.DataProtection/EphemeralDataProtectionProvider.cs b/src/Microsoft.AspNet.Security.DataProtection/EphemeralDataProtectionProvider.cs index a13c20c727..99bfe47d7a 100644 --- a/src/Microsoft.AspNet.Security.DataProtection/EphemeralDataProtectionProvider.cs +++ b/src/Microsoft.AspNet.Security.DataProtection/EphemeralDataProtectionProvider.cs @@ -5,7 +5,6 @@ using System; using Microsoft.AspNet.Security.DataProtection.AuthenticatedEncryption; using Microsoft.AspNet.Security.DataProtection.Cng; using Microsoft.AspNet.Security.DataProtection.KeyManagement; -using Microsoft.Framework.OptionsModel; namespace Microsoft.AspNet.Security.DataProtection { @@ -45,16 +44,6 @@ namespace Microsoft.AspNet.Security.DataProtection return _dataProtectionProvider.CreateProtector(purpose); } - private sealed class DefaultOptionsAccessor : IOptionsAccessor where T : class, new() - { - public T Options { get; } = new T(); - - public T GetNamedOptions(string name) - { - return Options; - } - } - private sealed class EphemeralKeyRing : IKeyRing, IKeyRingProvider where T : IInternalConfigurationOptions, new() {