diff --git a/src/Microsoft.AspNet.Abstractions/Security/AuthenticationManager.cs b/src/Microsoft.AspNet.Abstractions/Security/AuthenticationManager.cs index 36ed704cc9..c72e625ba8 100644 --- a/src/Microsoft.AspNet.Abstractions/Security/AuthenticationManager.cs +++ b/src/Microsoft.AspNet.Abstractions/Security/AuthenticationManager.cs @@ -12,7 +12,6 @@ namespace Microsoft.AspNet.Abstractions.Security public abstract HttpContext HttpContext { get; } public abstract IEnumerable GetAuthenticationTypes(); - public abstract IEnumerable GetAuthenticationTypes(Func predicate); public abstract AuthenticationResult Authenticate(string authenticationType); // TODO: Is sync a good idea? public abstract IEnumerable Authenticate(IList authenticationTypes); diff --git a/src/Microsoft.AspNet.PipelineCore/Security/DefaultAuthenticationManager.cs b/src/Microsoft.AspNet.PipelineCore/Security/DefaultAuthenticationManager.cs index 4030e67d21..025e7d243b 100644 --- a/src/Microsoft.AspNet.PipelineCore/Security/DefaultAuthenticationManager.cs +++ b/src/Microsoft.AspNet.PipelineCore/Security/DefaultAuthenticationManager.cs @@ -44,11 +44,6 @@ namespace Microsoft.AspNet.PipelineCore.Security } public override IEnumerable GetAuthenticationTypes() - { - return GetAuthenticationTypes(_ => true); - } - - public override IEnumerable GetAuthenticationTypes(Func predicate) { var descriptions = new List(); var handler = HttpAuthentication.Handler;