You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sdks/sdk-ref-javascript.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -434,7 +434,7 @@ Specifies whether a UID2 [POST /token/generate](../endpoints/post-token-gen
434
434
435
435
### isIdentityAvailable(): boolean <New3100 />
436
436
437
-
Determines whether an identity is available: for example, if there is an unexpired identity in local storage or a cookie, or an existing active request.
437
+
Determines whether an identity is available: for example, if there is an unexpired identity in local storage or in a cookie, or if an identity has already been requested.
438
438
439
439
If false, a UID2 [POST /token/generate](../endpoints/post-token-generate.md) call is required.
440
440
@@ -447,8 +447,8 @@ If false, a UID2 [POST /token/generate](../endpoints/post-token-generate.md
447
447
448
448
| Value | Description |
449
449
| :--- | :--- |
450
-
|`true`| This value indicates one of the following:<br/>- The identity is present and valid in a first-party cookie or local storage.<br/>- The identity has expired, and the token was not refreshed due to an intermittent error. The identity might be restored after a successful auto-refresh attempt. |
451
-
|`false`| This value indicates any of the following:<br/>- The user has opted out.<br/>- The identity is present, but the refresh token has expired.<br/>- A first-party cookie is not available and no server-generated identity has been supplied. |
450
+
|`true`| This value indicates one of the following:<ul><li> The identity is present and valid in a first-party cookie or local storage.</li><li> The identity has expired, and the token was not refreshed due to an intermittent error. The identity might be restored after a successful auto-refresh attempt.</li></ul>|
451
+
|`false`| This value indicates any of the following:<ul><li> The user has opted out.</li><li> The identity is present, but the refresh token has expired.</li><li> The identity has expired, even if the refresh token is still valid.</li><li> A first-party cookie is not available and no server-generated identity has been supplied. </li></ul>|
452
452
453
453
### disconnect(): void
454
454
@@ -470,7 +470,7 @@ If you need to provide a `cookieDomain` or `cookiePath` for the SDK to access th
470
470
471
471
### abort(): void <Deprecated3100 />
472
472
473
-
This function is deprecated and support will be removed completely in June of 2025. Instead, use [disconnect()](#disconnect-void) which has the same functionality as `abort()` and also includes more thorough disconnection steps.
473
+
This function is deprecated and support will be removed completely in June of 2025. Instead, use [disconnect()](#disconnect-void) which has the same functionality as `abort()`, but also includes more thorough disconnection logic.
474
474
475
475
Terminates any background timers or requests. The UID2 object remains in an unspecified state and cannot be used anymore.
0 commit comments