React to Security logging change
This commit is contained in:
parent
f3679f214e
commit
a001cd4f2a
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
using Microsoft.AspNet.Authentication;
|
using Microsoft.AspNet.Authentication;
|
||||||
using Microsoft.AspNet.Builder;
|
using Microsoft.AspNet.Builder;
|
||||||
|
using Microsoft.Framework.Logging;
|
||||||
using Microsoft.Framework.OptionsModel;
|
using Microsoft.Framework.OptionsModel;
|
||||||
|
|
||||||
namespace FiltersWebSite
|
namespace FiltersWebSite
|
||||||
|
|
@ -12,8 +13,9 @@ namespace FiltersWebSite
|
||||||
public AuthorizeBasicMiddleware(
|
public AuthorizeBasicMiddleware(
|
||||||
RequestDelegate next,
|
RequestDelegate next,
|
||||||
IOptions<BasicOptions> options,
|
IOptions<BasicOptions> options,
|
||||||
|
ILoggerFactory loggerFactory,
|
||||||
string authScheme) :
|
string authScheme) :
|
||||||
base(next, options,
|
base(next, options, loggerFactory,
|
||||||
new ConfigureOptions<BasicOptions>(o => o.AuthenticationScheme = authScheme) { Name = authScheme })
|
new ConfigureOptions<BasicOptions>(o => o.AuthenticationScheme = authScheme) { Name = authScheme })
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue