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