React to security changes

This commit is contained in:
Hao Kung 2015-04-23 23:00:20 -07:00
parent 3fd4991959
commit 60fd1f28b9
1 changed files with 3 additions and 1 deletions

View File

@ -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<BasicOptions> options,
ILoggerFactory loggerFactory,
IUrlEncoder encoder,
string authScheme) :
base(next, options, loggerFactory,
base(next, options, loggerFactory, encoder,
new ConfigureOptions<BasicOptions>(o => o.AuthenticationScheme = authScheme) { Name = authScheme })
{
}