diff options
author | crupest <crupest@outlook.com> | 2020-03-10 15:46:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-10 15:46:59 +0800 |
commit | 52c59d7cd949ee6ccc89fbb25231666e1e589fe2 (patch) | |
tree | 65b925263102aa29f4c58b12277e0c1c1368fe1f /Timeline/Auth | |
parent | d33300f976f3a237195e9de4d691ce1ee4b3d345 (diff) | |
download | timeline-52c59d7cd949ee6ccc89fbb25231666e1e589fe2.tar.gz timeline-52c59d7cd949ee6ccc89fbb25231666e1e589fe2.tar.bz2 timeline-52c59d7cd949ee6ccc89fbb25231666e1e589fe2.zip |
Revert namespace name change.
Diffstat (limited to 'Timeline/Auth')
-rw-r--r-- | Timeline/Auth/Attribute.cs | 4 | ||||
-rw-r--r-- | Timeline/Auth/MyAuthenticationHandler.cs | 6 | ||||
-rw-r--r-- | Timeline/Auth/PrincipalExtensions.cs | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/Timeline/Auth/Attribute.cs b/Timeline/Auth/Attribute.cs index 51e20bdf..86d0109b 100644 --- a/Timeline/Auth/Attribute.cs +++ b/Timeline/Auth/Attribute.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Authorization;
-using TimelineApp.Entities;
+using Timeline.Entities;
-namespace TimelineApp.Auth
+namespace Timeline.Auth
{
public class AdminAuthorizeAttribute : AuthorizeAttribute
{
diff --git a/Timeline/Auth/MyAuthenticationHandler.cs b/Timeline/Auth/MyAuthenticationHandler.cs index 5e119b69..3c97c329 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 TimelineApp.Services;
-using static TimelineApp.Resources.Authentication.AuthHandler;
+using Timeline.Services;
+using static Timeline.Resources.Authentication.AuthHandler;
-namespace TimelineApp.Auth
+namespace Timeline.Auth
{
public static class AuthenticationConstants
{
diff --git a/Timeline/Auth/PrincipalExtensions.cs b/Timeline/Auth/PrincipalExtensions.cs index e7eb04b7..ad7a887f 100644 --- a/Timeline/Auth/PrincipalExtensions.cs +++ b/Timeline/Auth/PrincipalExtensions.cs @@ -1,7 +1,7 @@ using System.Security.Principal;
-using TimelineApp.Entities;
+using Timeline.Entities;
-namespace TimelineApp.Auth
+namespace Timeline.Auth
{
internal static class PrincipalExtensions
{
|