React to WebListener settings API changes
This commit is contained in:
parent
51b13161d8
commit
299b44c018
|
|
@ -31,8 +31,8 @@ namespace MusicStore.Standalone
|
|||
// modify the applicationHost.config to enable NTLM.
|
||||
builder.UseWebListener(options =>
|
||||
{
|
||||
options.Listener.AuthenticationManager.AuthenticationSchemes = AuthenticationSchemes.NTLM;
|
||||
options.Listener.AuthenticationManager.AllowAnonymous = false;
|
||||
options.ListenerSettings.Authentication.Schemes = AuthenticationSchemes.NTLM;
|
||||
options.ListenerSettings.Authentication.AllowAnonymous = false;
|
||||
});
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ namespace MusicStore
|
|||
// modify the applicationHost.config to enable NTLM.
|
||||
builder.UseWebListener(options =>
|
||||
{
|
||||
options.Listener.AuthenticationManager.AuthenticationSchemes = AuthenticationSchemes.NTLM;
|
||||
options.Listener.AuthenticationManager.AllowAnonymous = false;
|
||||
options.ListenerSettings.Authentication.Schemes = AuthenticationSchemes.NTLM;
|
||||
options.ListenerSettings.Authentication.AllowAnonymous = false;
|
||||
});
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue