File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
test/ZNetCS.AspNetCore.Authentication.BasicTests Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ namespace ZNetCS.AspNetCore.Authentication.BasicTests
2020 using Microsoft . AspNetCore . Authentication ;
2121 using Microsoft . AspNetCore . Builder ;
2222 using Microsoft . AspNetCore . Hosting ;
23- using Microsoft . AspNetCore . Http . Authentication ;
2423 using Microsoft . Extensions . DependencyInjection ;
2524 using Microsoft . Extensions . Logging ;
2625
@@ -94,7 +93,7 @@ public static Action<BasicAuthenticationOptions> ConfigureOptions()
9493
9594 var ticket = new AuthenticationTicket (
9695 new ClaimsPrincipal ( new ClaimsIdentity ( claims , BasicAuthenticationDefaults . AuthenticationScheme ) ) ,
97- new Microsoft . AspNetCore . Authentication . AuthenticationProperties ( ) ,
96+ new AuthenticationProperties ( ) ,
9897 BasicAuthenticationDefaults . AuthenticationScheme ) ;
9998
10099 return Task . FromResult ( AuthenticateResult . Success ( ticket ) ) ;
You can’t perform that action at this time.
0 commit comments