Stop using obsolete version of AddScheme in test
This commit is contained in:
parent
f7968714a9
commit
95c10050c9
|
|
@ -16,8 +16,9 @@ namespace FiltersWebSite
|
||||||
// Set up application services
|
// Set up application services
|
||||||
public void ConfigureServices(IServiceCollection services)
|
public void ConfigureServices(IServiceCollection services)
|
||||||
{
|
{
|
||||||
services.AddScheme<BasicOptions, BasicAuthenticationHandler>("Interactive", _ => { });
|
services.AddAuthentication()
|
||||||
services.AddScheme<BasicOptions, BasicAuthenticationHandler>("Api", _ => { });
|
.AddScheme<BasicOptions, BasicAuthenticationHandler>("Interactive", _ => { })
|
||||||
|
.AddScheme<BasicOptions, BasicAuthenticationHandler>("Api", _ => { });
|
||||||
services.AddMvc();
|
services.AddMvc();
|
||||||
services.AddAuthorization(options =>
|
services.AddAuthorization(options =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue