aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Auth
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-03-10 03:04:23 +0800
committercrupest <crupest@outlook.com>2020-03-10 03:04:23 +0800
commite7ca87f25dae2f806469043ee556d4790d9ebcae (patch)
tree17d64590d81fc02a2b8e3df88963288b0ca85bb7 /Timeline/Auth
parent893ed4eee63997f2d91d6715d4355d9f767b2c40 (diff)
downloadtimeline-e7ca87f25dae2f806469043ee556d4790d9ebcae.tar.gz
timeline-e7ca87f25dae2f806469043ee556d4790d9ebcae.tar.bz2
timeline-e7ca87f25dae2f806469043ee556d4790d9ebcae.zip
...
Diffstat (limited to 'Timeline/Auth')
-rw-r--r--Timeline/Auth/Attribute.cs4
-rw-r--r--Timeline/Auth/MyAuthenticationHandler.cs6
-rw-r--r--Timeline/Auth/PrincipalExtensions.cs4
3 files changed, 7 insertions, 7 deletions
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
{