From 63dc9ad7196260225a6a15790174912cb2463efd Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Mon, 31 Mar 2014 12:00:55 -0700 Subject: [PATCH] Auth: Remove GetAuthType predicate overload. --- .../Security/AuthenticationManager.cs | 1 - .../Security/DefaultAuthenticationManager.cs | 5 ----- 2 files changed, 6 deletions(-) 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;