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
chore(docs): use EntityIdentifiers namespace for JS examples
Update JS examples to use `EntityIdentifiers.forEmail(...)` instead of
bare `forEmail(...)` to match opentdf/web-sdk#916.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|`entityIdentifier`|`EntityIdentifier`| Yes | The entity to query. Use [helpers](#entityidentifier) like `ForEmail(...)` (Go), `EntityIdentifiers.forEmail(...)` (Java), or `forEmail(...)` (JS). |
224
+
|`entityIdentifier`|`EntityIdentifier`| Yes | The entity to query. Use [helpers](#entityidentifier) like `ForEmail(...)` (Go), `EntityIdentifiers.forEmail(...)` (Java), or `EntityIdentifiers.forEmail(...)` (JS). |
225
225
|`withComprehensiveHierarchy`|`bool`| No | When true, returns all entitled values for attributes with hierarchy rules, propagating down from the entitled value. |
226
226
227
227
**Example**
@@ -345,10 +345,10 @@ for (EntityEntitlements entitlement : resp.getEntitlementsList()) {
|`entityIdentifier`|`EntityIdentifier`| Yes | The entity requesting access. Use [helpers](#entityidentifier) like `ForEmail(...)` (Go), `EntityIdentifiers.forEmail(...)` (Java), or `forEmail(...)` (JS). |
415
+
|`entityIdentifier`|`EntityIdentifier`| Yes | The entity requesting access. Use [helpers](#entityidentifier) like `ForEmail(...)` (Go), `EntityIdentifiers.forEmail(...)` (Java), or `EntityIdentifiers.forEmail(...)` (JS). |
416
416
|`action`|`Action`| Yes | The action being performed (e.g., `decrypt`, `read`). |
417
417
|`resource`|`Resource`| Yes | The resource being accessed, identified by attribute value FQNs. |
418
418
@@ -586,11 +586,11 @@ if (decision.getDecision() == Decision.DECISION_PERMIT) {
0 commit comments