Skip to content

Commit

Permalink
docs(react): document sessionClaims property for useAuth
Browse files Browse the repository at this point in the history
Document changes from clerk/javascript#4823
  • Loading branch information
ijxy committed Dec 20, 2024
1 parent a6f8eef commit 5c26738
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/references/astro/auth-store.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ The `$authStore` store provides a convenient way to access the current auth stat

---

- `sessionClaims`
- `JwtPayload`

The current user's [session claims](/docs/backend-requests/resources/session-tokens#default-session-claims).

---

- `orgId`
- `string`

Expand Down
7 changes: 7 additions & 0 deletions docs/references/react/use-auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ The `useAuth()` hook provides access to the current user's authentication state

---

- `sessionClaims`
- `JwtPayload`

The current user's [session claims](/docs/backend-requests/resources/session-tokens#default-session-claims).

---

- `orgId`
- `string`

Expand Down

0 comments on commit 5c26738

Please sign in to comment.