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
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddScheme<BasicOptions, BasicAuthenticationHandler>("Interactive", _ => { });
|
||||
services.AddScheme<BasicOptions, BasicAuthenticationHandler>("Api", _ => { });
|
||||
services.AddAuthentication()
|
||||
.AddScheme<BasicOptions, BasicAuthenticationHandler>("Interactive", _ => { })
|
||||
.AddScheme<BasicOptions, BasicAuthenticationHandler>("Api", _ => { });
|
||||
services.AddMvc();
|
||||
services.AddAuthorization(options =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue