From a4a75188bd17e31b39a02511bbd6d628bab5c909 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 25 Apr 2021 21:20:04 +0800 Subject: ... --- BackEnd/Timeline/Auth/MyAuthenticationHandler.cs | 2 +- BackEnd/Timeline/Auth/PermissionAuthorizeAttribute.cs | 2 +- BackEnd/Timeline/Auth/PrincipalExtensions.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'BackEnd/Timeline/Auth') diff --git a/BackEnd/Timeline/Auth/MyAuthenticationHandler.cs b/BackEnd/Timeline/Auth/MyAuthenticationHandler.cs index fe27814a..affed7a5 100644 --- a/BackEnd/Timeline/Auth/MyAuthenticationHandler.cs +++ b/BackEnd/Timeline/Auth/MyAuthenticationHandler.cs @@ -13,8 +13,8 @@ using System.Text.Json; using System.Threading.Tasks; using Timeline.Models; using Timeline.Models.Http; -using Timeline.Services; using Timeline.Services.Token; +using Timeline.Services.User; namespace Timeline.Auth { diff --git a/BackEnd/Timeline/Auth/PermissionAuthorizeAttribute.cs b/BackEnd/Timeline/Auth/PermissionAuthorizeAttribute.cs index 3df8dee5..64d6f876 100644 --- a/BackEnd/Timeline/Auth/PermissionAuthorizeAttribute.cs +++ b/BackEnd/Timeline/Auth/PermissionAuthorizeAttribute.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Authorization; using System; using System.Linq; -using Timeline.Services; +using Timeline.Services.User; namespace Timeline.Auth { diff --git a/BackEnd/Timeline/Auth/PrincipalExtensions.cs b/BackEnd/Timeline/Auth/PrincipalExtensions.cs index c0f9de14..605f66f6 100644 --- a/BackEnd/Timeline/Auth/PrincipalExtensions.cs +++ b/BackEnd/Timeline/Auth/PrincipalExtensions.cs @@ -1,6 +1,6 @@ using System; using System.Security.Claims; -using Timeline.Services; +using Timeline.Services.User; namespace Timeline.Auth { -- cgit v1.2.3