Skip to content

Commit 7af1390

Browse files
committed
Code cleanup
1 parent 6611a6d commit 7af1390

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/ZNetCS.AspNetCore.Authentication.BasicTests/WebHostBuilderHelper.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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));

0 commit comments

Comments
 (0)