Skip to content

Commit 255e934

Browse files
committed
copyedit
1 parent 706a2b4 commit 255e934

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

authentication-personalization/personalization-setup.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,13 @@ type User = {
5959
<ParamField
6060
path="expiresAt"
6161
type="number"
62-
optional
6362
>
6463
Session expiration time in **seconds since epoch**. If the user loads a page after this time, their stored data is automatically deleted and they must reauthenticate.
6564
<Warning><b>For JWT handshakes:</b> This differs from the JWT's `exp` claim, which determines when a JWT is considered invalid. Set the JWT `exp` claim to a short duration (10 seconds or less) for security. Use `expiresAt` for the actual session length (hours to weeks).</Warning>
6665
</ParamField>
6766
<ParamField
6867
path="groups"
6968
type="string[]"
70-
optional
7169
>
7270
List of groups the user belongs to. Pages with matching `groups` in their frontmatter are visible to this user.
7371
@@ -76,7 +74,6 @@ type User = {
7674
<ParamField
7775
path="content"
7876
type="object"
79-
optional
8077
>
8178
Custom data accessible in your `MDX` content via the `user` variable. Use this for dynamic personalization throughout your documentation.
8279
@@ -109,7 +106,6 @@ type User = {
109106
<ParamField
110107
path="apiPlaygroundInputs"
111108
type="object"
112-
optional
113109
>
114110
User-specific values that prefill API playground fields. Saves users time by auto-populating their data when testing APIs.
115111

0 commit comments

Comments
 (0)