From 5c26738c13fab62cefeb7e8b4609f89a740e961a Mon Sep 17 00:00:00 2001 From: ijxy <32483798+ijxy@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:43:13 +0000 Subject: [PATCH] docs(react): document `sessionClaims` property for `useAuth` Document changes from https://github.com/clerk/javascript/pull/4823 --- docs/references/astro/auth-store.mdx | 7 +++++++ docs/references/react/use-auth.mdx | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/docs/references/astro/auth-store.mdx b/docs/references/astro/auth-store.mdx index dc2e1d19cb..979884828f 100644 --- a/docs/references/astro/auth-store.mdx +++ b/docs/references/astro/auth-store.mdx @@ -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` diff --git a/docs/references/react/use-auth.mdx b/docs/references/react/use-auth.mdx index 755e0fb304..ab03801c3e 100644 --- a/docs/references/react/use-auth.mdx +++ b/docs/references/react/use-auth.mdx @@ -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`