We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87530d7 commit a3d3b33Copy full SHA for a3d3b33
Helper/InsightsHelper.php
@@ -17,6 +17,13 @@ class InsightsHelper
17
18
public const ALGOLIA_CUSTOMER_USER_TOKEN_COOKIE_NAME = 'aa-search';
19
20
+ /**
21
+ * Up to 129 chars per https://www.algolia.com/doc/rest-api/insights/#method-param-usertoken
22
+ * But capping at legacy 64 chars for backward compat
23
+ */
24
+ /** @var int */
25
+ public const ALGOLIA_USER_TOKEN_MAX_LENGTH = 64;
26
+
27
/** @var ConfigHelper */
28
private $configHelper;
29
@@ -25,7 +32,7 @@ class InsightsHelper
32
33
/** @var SessionManagerInterface */
34
private $sessionManager;
-
35
36
/** @var CookieManagerInterface */
30
37
private $cookieManager;
31
38
0 commit comments