From e7ca87f25dae2f806469043ee556d4790d9ebcae Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 10 Mar 2020 03:04:23 +0800 Subject: ... --- Timeline/Auth/Attribute.cs | 4 ++-- Timeline/Auth/MyAuthenticationHandler.cs | 6 +++--- Timeline/Auth/PrincipalExtensions.cs | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'Timeline/Auth') diff --git a/Timeline/Auth/Attribute.cs b/Timeline/Auth/Attribute.cs index 86d0109b..51e20bdf 100644 --- a/Timeline/Auth/Attribute.cs +++ b/Timeline/Auth/Attribute.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Authorization; -using Timeline.Entities; +using TimelineApp.Entities; -namespace Timeline.Auth +namespace TimelineApp.Auth { public class AdminAuthorizeAttribute : AuthorizeAttribute { diff --git a/Timeline/Auth/MyAuthenticationHandler.cs b/Timeline/Auth/MyAuthenticationHandler.cs index 3c97c329..5e119b69 100644 --- a/Timeline/Auth/MyAuthenticationHandler.cs +++ b/Timeline/Auth/MyAuthenticationHandler.cs @@ -8,10 +8,10 @@ using System.Linq; using System.Security.Claims; using System.Text.Encodings.Web; using System.Threading.Tasks; -using Timeline.Services; -using static Timeline.Resources.Authentication.AuthHandler; +using TimelineApp.Services; +using static TimelineApp.Resources.Authentication.AuthHandler; -namespace Timeline.Auth +namespace TimelineApp.Auth { public static class AuthenticationConstants { diff --git a/Timeline/Auth/PrincipalExtensions.cs b/Timeline/Auth/PrincipalExtensions.cs index ad7a887f..e7eb04b7 100644 --- a/Timeline/Auth/PrincipalExtensions.cs +++ b/Timeline/Auth/PrincipalExtensions.cs @@ -1,7 +1,7 @@ using System.Security.Principal; -using Timeline.Entities; +using TimelineApp.Entities; -namespace Timeline.Auth +namespace TimelineApp.Auth { internal static class PrincipalExtensions { -- cgit v1.2.3