diff --git a/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs b/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs index be3ae2c50e..93d055c53c 100644 --- a/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs +++ b/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs @@ -3,6 +3,7 @@ using Microsoft.AspNet.Authentication; using Microsoft.AspNet.Builder; +using Microsoft.Framework.WebEncoders; using Microsoft.Framework.Logging; using Microsoft.Framework.OptionsModel; @@ -14,8 +15,9 @@ namespace FiltersWebSite RequestDelegate next, IOptions options, ILoggerFactory loggerFactory, + IUrlEncoder encoder, string authScheme) : - base(next, options, loggerFactory, + base(next, options, loggerFactory, encoder, new ConfigureOptions(o => o.AuthenticationScheme = authScheme) { Name = authScheme }) { }