@@ -25,7 +25,6 @@ public async Task MiddlewareSkippedIfTokenIsMissing()
25
25
. UseSetting ( "PORT" , "12345" )
26
26
. UseSetting ( "APPL_PATH" , "/" )
27
27
. UseIISIntegration ( )
28
- . ConfigureServices ( services => services . AddAuthentication ( ) )
29
28
. Configure ( app =>
30
29
{
31
30
app . Run ( context =>
@@ -55,7 +54,6 @@ public async Task MiddlewareRejectsRequestIfTokenHeaderIsMissing()
55
54
. UseSetting ( "PORT" , "12345" )
56
55
. UseSetting ( "APPL_PATH" , "/" )
57
56
. UseIISIntegration ( )
58
- . ConfigureServices ( services => services . AddAuthentication ( ) )
59
57
. Configure ( app =>
60
58
{
61
59
app . Run ( context =>
@@ -82,7 +80,6 @@ public void UrlDelayRegisteredAndPreferHostingUrlsSet()
82
80
. UseSetting ( "PORT" , "12345" )
83
81
. UseSetting ( "APPL_PATH" , "/" )
84
82
. UseIISIntegration ( )
85
- . ConfigureServices ( services => services . AddAuthentication ( ) )
86
83
. Configure ( app =>
87
84
{
88
85
app . Run ( context => Task . FromResult ( 0 ) ) ;
@@ -106,7 +103,6 @@ public void PathBaseHiddenFromServer()
106
103
. UseSetting ( "PORT" , "12345" )
107
104
. UseSetting ( "APPL_PATH" , "/pathBase" )
108
105
. UseIISIntegration ( )
109
- . ConfigureServices ( services => services . AddAuthentication ( ) )
110
106
. Configure ( app =>
111
107
{
112
108
app . Run ( context => Task . FromResult ( 0 ) ) ;
@@ -126,7 +122,6 @@ public async Task AddsUsePathBaseMiddlewareWhenPathBaseSpecified()
126
122
. UseSetting ( "PORT" , "12345" )
127
123
. UseSetting ( "APPL_PATH" , "/pathbase" )
128
124
. UseIISIntegration ( )
129
- . ConfigureServices ( services => services . AddAuthentication ( ) )
130
125
. Configure ( app =>
131
126
{
132
127
app . Run ( context =>
0 commit comments