Skip to content

Commit de4fa15

Browse files
marythoughtclaude
andcommitted
chore(docs): wrap EntityIdentifier helpers in language tabs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f137e39 commit de4fa15

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

docs/sdks/authorization.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ const platformClient = new PlatformClient({
6969

7070
Every authorization call requires an `EntityIdentifier` — the entity (user, service, etc.) you're asking about. The entity can be identified by email, username, client ID, JWT token, claims, or registered resource FQN.
7171

72-
**Go** — use the v2 helper functions:
72+
<Tabs>
73+
<TabItem value="go" label="Go">
7374

7475
| Helper | Description |
7576
|--------|-------------|
@@ -88,7 +89,8 @@ req := &authorizationv2.GetDecisionRequest{
8889
}
8990
```
9091

91-
**Java** — use the `EntityIdentifiers` helper class:
92+
</TabItem>
93+
<TabItem value="java" label="Java">
9294

9395
| Helper | Description |
9496
|--------|-------------|
@@ -124,7 +126,8 @@ EntityIdentifier.newBuilder()
124126

125127
</details>
126128

127-
**JavaScript** — use the named helper functions:
129+
</TabItem>
130+
<TabItem value="js" label="JavaScript">
128131

129132
| Helper | Description |
130133
|--------|-------------|
@@ -169,6 +172,9 @@ const response = await platformClient.v2.authorization.getDecision({
169172

170173
</details>
171174

175+
</TabItem>
176+
</Tabs>
177+
172178
**Supported entity types:**
173179

174180
| Type | Go | Java | JavaScript |

0 commit comments

Comments
 (0)