From 928c7ca8a3acb5931f8b3f5b860e294770a2048e Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Thu, 23 Dec 2021 11:01:00 +0300 Subject: [PATCH] Moved and renamed CookieConstants --- .../src/EShopOnAbp.PublicWeb/CookieConstants.cs | 8 -------- .../EShopConstants.cs | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/CookieConstants.cs create mode 100644 shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopConstants.cs diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/CookieConstants.cs b/apps/public-web/src/EShopOnAbp.PublicWeb/CookieConstants.cs deleted file mode 100644 index 1994218b..00000000 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/CookieConstants.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -namespace EShopOnAbp.PublicWeb; - -public static class CookieConstants -{ - public const string AnonymousUserCookieName = "eshop_anonymousId"; -} \ No newline at end of file diff --git a/shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopConstants.cs b/shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopConstants.cs new file mode 100644 index 00000000..87a36a2f --- /dev/null +++ b/shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopConstants.cs @@ -0,0 +1,7 @@ +namespace EShopOnAbp.Shared.Hosting.AspNetCore; + +public static class EShopConstants +{ + public const string AnonymousUserCookieName = "eshop_anonymousId"; + public const string AnonymousUserClaimName = "anonymous_id"; +} \ No newline at end of file