React to Security logging change

This commit is contained in:
Hao Kung 2015-04-22 12:51:19 -07:00
parent f3679f214e
commit a001cd4f2a
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.Logging;
using Microsoft.Framework.OptionsModel;
namespace FiltersWebSite
@ -12,8 +13,9 @@ namespace FiltersWebSite
public AuthorizeBasicMiddleware(
RequestDelegate next,
IOptions<BasicOptions> options,
ILoggerFactory loggerFactory,
string authScheme) :
base(next, options,
base(next, options, loggerFactory,
new ConfigureOptions<BasicOptions>(o => o.AuthenticationScheme = authScheme) { Name = authScheme })
{
}