From e2ad2f13862820831052e94d735c7d3401e4c066 Mon Sep 17 00:00:00 2001 From: Levi B Date: Tue, 14 Oct 2014 17:29:13 -0700 Subject: [PATCH] Remove dead code from EphemeralDataProtectionProvider.cs. --- .../EphemeralDataProtectionProvider.cs | 11 ----------- 1 file changed, 11 deletions(-) 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() {