From 287eebe2442d25ee4ba1d9d55f66363507df8bfd Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Thu, 3 Jul 2014 10:12:15 -0700 Subject: [PATCH] Handle change from IList to IEnumerable. --- .../Infrastructure/SecurityHelper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.AspNet.Security/Infrastructure/SecurityHelper.cs b/src/Microsoft.AspNet.Security/Infrastructure/SecurityHelper.cs index 7a8456d5e1..876d5342f7 100644 --- a/src/Microsoft.AspNet.Security/Infrastructure/SecurityHelper.cs +++ b/src/Microsoft.AspNet.Security/Infrastructure/SecurityHelper.cs @@ -38,7 +38,7 @@ namespace Microsoft.AspNet.Security.Infrastructure context.User = newClaimsPrincipal; } - public static bool LookupChallenge(IList authenticationTypes, string authenticationType, AuthenticationMode authenticationMode) + public static bool LookupChallenge(IEnumerable authenticationTypes, string authenticationType, AuthenticationMode authenticationMode) { bool challengeHasAuthenticationTypes = authenticationTypes != null && authenticationTypes.Any(); if (!challengeHasAuthenticationTypes) @@ -52,7 +52,7 @@ namespace Microsoft.AspNet.Security.Infrastructure /// Find response sign-in details for a specific authentication middleware /// /// The authentication type to look for - public static bool LookupSignIn(IList identities, string authenticationType, out ClaimsIdentity identity) + public static bool LookupSignIn(IEnumerable identities, string authenticationType, out ClaimsIdentity identity) { identity = null; foreach (var claimsIdentity in identities) @@ -71,7 +71,7 @@ namespace Microsoft.AspNet.Security.Infrastructure /// /// The authentication type to look for /// The authentication mode the middleware is running under - public static bool LookupSignOut(IList authenticationTypes, string authenticationType, AuthenticationMode authenticationMode) + public static bool LookupSignOut(IEnumerable authenticationTypes, string authenticationType, AuthenticationMode authenticationMode) { bool singOutHasAuthenticationTypes = authenticationTypes != null && authenticationTypes.Any(); if (!singOutHasAuthenticationTypes)