Remove dead code from EphemeralDataProtectionProvider.cs.

This commit is contained in:
Levi B 2014-10-14 17:29:13 -07:00
parent c3b76d14a3
commit e2ad2f1386
1 changed files with 0 additions and 11 deletions

View File

@ -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<T> : IOptionsAccessor<T> where T : class, new()
{
public T Options { get; } = new T();
public T GetNamedOptions(string name)
{
return Options;
}
}
private sealed class EphemeralKeyRing<T> : IKeyRing, IKeyRingProvider
where T : IInternalConfigurationOptions, new()
{