In order to update a user object after any type of backend update, (i.e. unlinking an account or setting custom metadata) you can ensure the user object in the application is up-to-date by invoking the refreshUser method from the useUser hook:
Example refresh User
import { useUser } from "@privy-io/react-auth";const { user, refreshUser } = useUser();const updateMetadata = async (value: string) => {// Make API request to update custom metadata for a user from the backendconst response = await updateUserMetadata({ value });await refreshUser();// `user` object should be updatedconsole.log(user);};
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Privy Docs","colors":{"primary":"#010110","light":"#FFFFFF"},"logo":{"light":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-light.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=bd297b680ace8a13db4d9ce977f93180","dark":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-dark.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=24d83970695ab19a1803a2eb00dbea4e"},"favicon":"https://mintcdn.com/privy-c2af3412/YByWVKlFbSpnpSJG/favicon.png?fit=max\u0026auto=format\u0026n=YByWVKlFbSpnpSJG\u0026q=85\u0026s=ee4038168ea586e5f72041e5e2a1f5c8","api":{"openapi":{"source":"https://api.staging.privy.io/v1/openapi.json"},"playground":{"display":"interactive"},"examples":{"languages":["curl","java","javascript","php","go"]},"mdx":{"server":"https://api.privy.io"}},"background":{"color":{"light":"#FFFFFF","dark":"#010110"}},"navbar":{"links":[{"href":"https://demo.privy.io","label":"Demo"},{"href":"https://privy.io/slack","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.privy.io"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Privy Docs","og:image":"https://assets.privy.io/docs-og.png","twitter:title":"Privy Docs","twitter:card":"summary_large_image","twitter:image":"https://assets.privy.io/docs-og.png"},"organization":{"id":"https://www.privy.io/#organization","name":"Privy","url":"https://www.privy.io","logo":"https://assets.privy.io/docs-og.png","sameAs":["https://x.com/privy_io","https://github.com/privy-io"]}},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-WV9MVTB3"}},"contextual":{"options":["claude","chatgpt","cursor","vscode","mcp","copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"privy-c2af3412","hasAudioNarration":false,"actualSubdomain":"privy-c2af3412","customDomains":["docs.privy.io"],"gitSource":{"type":"github","owner":"privy-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae8ca4c72371a1bd6351c76","collectionId":"dd2027f9-fbb8-4b80-adf6-fc9ed06915ac","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae8ca4c72371a1bd6351c76"},"feedback":{"issues":true,"thumbs":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae8ca4c72371a1bd6351c76","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Wallets","count":282},{"language":"default","tag":"API reference","count":239},{"language":"default","tag":"Recipes","count":139},{"language":"default","tag":"All recipes","count":138},{"language":"default","tag":"Identity","count":130},{"language":"default","tag":"Signatures and transactions","count":90},{"language":"default","tag":"Basics","count":86},{"language":"default","tag":"Users","count":82},{"language":"default","tag":"Financial flows","count":79},{"language":"default","tag":"Controls","count":76}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/privy-c2af3412/4e67a2a256ed8221/style.css"}],"page":{"pagePath":"user-management/users/the-user-object","slug":"/user-management/users/the-user-object","pageMetadata":{"title":"Handling the user object","sidebarTitle":"The user object","description":null,"href":"/user-management/users/the-user-object"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Expandable,Heading,ParamField,Tab,Tabs,Tip,View,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!View)_missingMdxReference(`View`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`All of Privy’s login methods result in a unified JSON representation of your user.`}),`\n`,_jsxs(View,{title:`React`,icon:`react`,id:`react`,children:[_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`To get the current user, inspect the `,_jsx(_components.a,{href:`/user-management/users/the-user-object`,children:_jsx(_components.code,{children:`user`})}),` object returned by the `,_jsx(_components.code,{children:`usePrivy`}),` hook:`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` usePrivy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`unauthenticated-users`,children:`Unauthenticated users`}),_jsxs(_components.p,{children:[`For `,_jsx(_components.strong,{children:`unauthenticated`}),` users, the `,_jsx(_components.a,{href:`/user-management/users/the-user-object`,children:_jsx(_components.strong,{children:_jsx(_components.code,{children:`user`})})}),` object will be `,_jsx(_components.code,{children:`null`}),`.`]}),_jsx(Heading,{level:`3`,id:`authenticated-users`,children:`Authenticated users`}),_jsxs(_components.p,{children:[`For `,_jsx(_components.strong,{children:`authenticated`}),` users, you can use the following fields:`]}),_jsxs(Expandable,{title:`User`,defaultOpen:true,children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The Privy-issued DID for the user. If you need to store additional information about a user, you\ncan use this DID to reference them.`})}),_jsx(ParamField,{body:`createdAt`,type:`string`,required:true,id:`param-created-at`,children:_jsx(_components.p,{children:`The datetime of when the user was created, in ISO 8601 format.`})}),_jsxs(ParamField,{body:`linkedAccounts`,type:`array`,required:true,id:`param-linked-accounts`,children:[_jsx(_components.p,{children:`The list of accounts associated with this user. Each account contains additional metadata that may\nbe helpful for advanced use cases.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsxs(Expandable,{title:`Wallet`,children:[_jsx(ParamField,{body:`type`,type:`'wallet'`,required:true,id:`param-type`,children:_jsx(_components.p,{children:`Denotes that this is a wallet account`})}),_jsx(ParamField,{body:`id`,type:`string | null`,required:true,id:`param-id-1`,children:_jsx(_components.p,{children:`The wallet ID of the wallet. Null if the wallet is not delegated. Only applies to embedded\nwallets (walletClientType === ‘privy’)`})}),_jsx(ParamField,{body:`address`,type:`string`,required:true,id:`param-address`,children:_jsx(_components.p,{children:`The wallet address`})}),_jsx(ParamField,{body:`chainType`,type:`'ethereum' | 'solana'`,required:true,id:`param-chain-type`,children:_jsx(_components.p,{children:`Chain type of the wallet address`})}),_jsx(ParamField,{body:`walletClientType`,type:`string`,required:true,id:`param-wallet-client-type`,children:_jsx(_components.p,{children:`The wallet client used for this wallet during the most recent verification. If the value is\n‘privy’, then this is a privy embedded wallet`})}),_jsx(ParamField,{body:`connectorType`,type:`string`,required:true,id:`param-connector-type`,children:_jsx(_components.p,{children:`The connector type used for this wallet during the most recent verification`})}),_jsx(ParamField,{body:`recoveryMethod`,type:`'privy' | UserRecoveryMethod`,required:true,id:`param-recovery-method`,children:_jsx(_components.p,{children:`If this is a ‘privy’ embedded wallet, stores the recovery method`})}),_jsx(ParamField,{body:`imported`,type:`boolean`,required:true,id:`param-imported`,children:_jsx(_components.p,{children:`Whether the wallet is imported. Only applies to embedded wallets (walletClientType === ‘privy’)`})}),_jsx(ParamField,{body:`delegated`,type:`boolean`,required:true,id:`param-delegated`,children:_jsx(_components.p,{children:`Whether the wallet is delegated. Only applies to embedded wallets (walletClientType === ‘privy’)`})}),_jsx(ParamField,{body:`userCanSign`,type:`boolean`,required:true,id:`param-user-can-sign`,children:_jsxs(_components.p,{children:[`Whether the user can sign with this wallet on their own. `,_jsx(_components.code,{children:`false`}),` when the user is only the\nwallet’s `,_jsx(_components.a,{href:`/kyc-kyb/entities#check-whether-the-user-can-sign`,children:`entity`})]})}),_jsx(ParamField,{body:`walletIndex`,type:`number | null`,required:true,id:`param-wallet-index`,children:_jsx(_components.p,{children:`HD index for the wallet. Only applies to embedded wallets (walletClientType === ‘privy’)`})})]}),_jsxs(Expandable,{title:`SmartWallet`,children:[_jsx(ParamField,{body:`type`,type:`'smart_wallet'`,required:true,id:`param-type-1`,children:_jsx(_components.p,{children:`Denotes that this is a smart wallet account`})}),_jsx(ParamField,{body:`address`,type:`string`,required:true,id:`param-address-1`,children:_jsx(_components.p,{children:`The wallet address`})}),_jsx(ParamField,{body:`smartWalletType`,type:`SmartWalletType`,required:true,id:`param-smart-wallet-type`,children:_jsx(_components.p,{children:`The provider of the smart wallet`})})]}),_jsxs(Expandable,{title:`Email`,children:[_jsx(ParamField,{body:`type`,type:`'email'`,required:true,id:`param-type-2`,children:_jsx(_components.p,{children:`Denotes that this is an email account`})}),_jsx(ParamField,{body:`address`,type:`string`,required:true,id:`param-address-2`,children:_jsx(_components.p,{children:`The email address`})})]}),_jsxs(Expandable,{title:`Phone`,children:[_jsx(ParamField,{body:`type`,type:`'phone'`,required:true,id:`param-type-3`,children:_jsx(_components.p,{children:`Denotes that this is a phone account`})}),_jsx(ParamField,{body:`number`,type:`string`,required:true,id:`param-number`,children:_jsx(_components.p,{children:`The phone number`})})]}),_jsxs(Expandable,{title:`Google`,children:[_jsx(ParamField,{body:`type`,type:`'google_oauth'`,required:true,id:`param-type-4`,children:_jsx(_components.p,{children:`Denotes that this is a Google account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Google-issued JWT for this account`})}),_jsx(ParamField,{body:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`The email associated with the Google account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The name associated with the Google account`})})]}),_jsxs(Expandable,{title:`Twitter`,children:[_jsx(ParamField,{body:`type`,type:`'twitter_oauth'`,required:true,id:`param-type-5`,children:_jsx(_components.p,{children:`Denotes that this is a Twitter account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-1`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Twitter-issued JWT for this account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username`,children:_jsx(_components.p,{children:`The username associated with the Twitter account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`The name associated with the Twitter account`})}),_jsx(ParamField,{body:`profilePictureUrl`,type:`string | null`,required:true,id:`param-profile-picture-url`,children:_jsx(_components.p,{children:`The profile picture URL associated with the Twitter account`})})]}),_jsxs(Expandable,{title:`Discord`,children:[_jsx(ParamField,{body:`type`,type:`'discord_oauth'`,required:true,id:`param-type-6`,children:_jsx(_components.p,{children:`Denotes that this is a Discord account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-2`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Discord-issued JWT for this account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-1`,children:_jsx(_components.p,{children:`The username associated with the Discord account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-1`,children:_jsx(_components.p,{children:`The email associated with the Discord account`})})]}),_jsxs(Expandable,{title:`Github`,children:[_jsx(ParamField,{body:`type`,type:`'github_oauth'`,required:true,id:`param-type-7`,children:_jsx(_components.p,{children:`Denotes that this is a Github account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-3`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Github-issued JWT for this account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-2`,children:_jsx(_components.p,{children:`The username associated with the Github account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`The name associated with the Github account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-2`,children:_jsx(_components.p,{children:`The email associated with the Github account`})})]}),_jsxs(Expandable,{title:`Spotify`,children:[_jsx(ParamField,{body:`type`,type:`'spotify_oauth'`,required:true,id:`param-type-8`,children:_jsx(_components.p,{children:`Denotes that this is a Spotify account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-4`,children:_jsx(_components.p,{children:`The user id associated with the Spotify account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-3`,children:_jsx(_components.p,{children:`The email associated with the Spotify account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-3`,children:_jsx(_components.p,{children:`The display name associated with the Spotify account`})})]}),_jsxs(Expandable,{title:`Instagram`,children:[_jsx(ParamField,{body:`type`,type:`'instagram_oauth'`,required:true,id:`param-type-9`,children:_jsx(_components.p,{children:`Denotes that this is an Instagram account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-5`,children:_jsx(_components.p,{children:`The user id associated with the Instagram account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-3`,children:_jsx(_components.p,{children:`The username associated with the Instagram account`})})]}),_jsxs(Expandable,{title:`Tiktok`,children:[_jsx(ParamField,{body:`type`,type:`'tiktok_oauth'`,required:true,id:`param-type-10`,children:_jsx(_components.p,{children:`Denotes that this is a Tiktok account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-6`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Tiktok-issued JWT for this account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-4`,children:_jsx(_components.p,{children:`The username associated with the Tiktok account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-4`,children:_jsx(_components.p,{children:`The display name associated with the Tiktok account`})})]}),_jsxs(Expandable,{title:`Line`,children:[_jsx(ParamField,{body:`type`,type:`'line_oauth'`,required:true,id:`param-type-11`,children:_jsx(_components.p,{children:`Denotes that this is a Line account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-7`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Line-issued JWT for this account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-5`,children:_jsx(_components.p,{children:`The name associated with the Line account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-4`,children:_jsx(_components.p,{children:`The email associated with the Line account`})}),_jsx(ParamField,{body:`profilePictureUrl`,type:`string | null`,required:true,id:`param-profile-picture-url-1`,children:_jsx(_components.p,{children:`The profile image URL associated with the Line account`})})]}),_jsxs(Expandable,{title:`LinkedIn`,children:[_jsx(ParamField,{body:`type`,type:`'linkedin_oauth'`,required:true,id:`param-type-12`,children:_jsx(_components.p,{children:`Denotes that this is a LinkedIn account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-8`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the LinkedIn-issued JWT for this account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-6`,children:_jsx(_components.p,{children:`The name associated with the LinkedIn account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-5`,children:_jsx(_components.p,{children:`The email associated with the LinkedIn account`})}),_jsx(ParamField,{body:`vanityName`,type:`string | null`,required:true,id:`param-vanity-name`,children:_jsx(_components.p,{children:`The vanityName/profile URL associated with the LinkedIn account`})})]}),_jsxs(Expandable,{title:`Apple`,children:[_jsx(ParamField,{body:`type`,type:`'apple_oauth'`,required:true,id:`param-type-13`,children:_jsx(_components.p,{children:`Denotes that this is an Apple account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-9`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Apple-issued JWT for this account`})}),_jsx(ParamField,{body:`email`,type:`string`,required:true,id:`param-email-6`,children:_jsx(_components.p,{children:`The email associated with the Apple account`})})]}),_jsxs(Expandable,{title:`CustomJwt`,children:[_jsx(ParamField,{body:`type`,type:`'custom_auth'`,required:true,id:`param-type-14`,children:_jsx(_components.p,{children:`Denotes that this is a custom account`})}),_jsx(ParamField,{body:`customUserId`,type:`string`,required:true,id:`param-custom-user-id`,children:_jsx(_components.p,{children:`The user ID given by the custom auth provider`})})]}),_jsxs(Expandable,{title:`Farcaster`,children:[_jsx(ParamField,{body:`type`,type:`'farcaster'`,required:true,id:`param-type-15`,children:_jsx(_components.p,{children:`Denotes that this is a Farcaster account`})}),_jsx(ParamField,{body:`fid`,type:`number | null`,required:true,id:`param-fid`,children:_jsx(_components.p,{children:`The Farcaster on-chain FID`})}),_jsx(ParamField,{body:`ownerAddress`,type:`string`,required:true,id:`param-owner-address`,children:_jsx(_components.p,{children:`The Farcaster ethereum address that owns the FID`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-5`,children:_jsx(_components.p,{children:`The Farcaster protocol username`})}),_jsx(ParamField,{body:`displayName`,type:`string | null`,required:true,id:`param-display-name`,children:_jsx(_components.p,{children:`The Farcaster protocol display name`})}),_jsx(ParamField,{body:`bio`,type:`string | null`,required:true,id:`param-bio`,children:_jsx(_components.p,{children:`The Farcaster protocol bio`})}),_jsx(ParamField,{body:`pfp`,type:`string | null`,required:true,id:`param-pfp`,children:_jsx(_components.p,{children:`The Farcaster protocol profile picture`})}),_jsx(ParamField,{body:`url`,type:`string | null`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`The Farcaster protocol profile url`})}),_jsx(ParamField,{body:`signerPublicKey`,type:`string | null`,required:true,id:`param-signer-public-key`,children:_jsx(_components.p,{children:`The public key of the signer, if set. This is not guaranteed to be valid, as the user can revoke\nthe key at any time`})})]}),_jsxs(Expandable,{title:`Passkey`,children:[_jsx(ParamField,{body:`type`,type:`'passkey'`,required:true,id:`param-type-16`,children:_jsx(_components.p,{children:`Denotes that this is a Passkey account`})}),_jsx(ParamField,{body:`credentialId`,type:`string`,required:true,id:`param-credential-id`,children:_jsx(_components.p,{children:`The passkey credential ID`})}),_jsx(ParamField,{body:`enrolledInMfa`,type:`boolean`,required:true,id:`param-enrolled-in-mfa`,children:_jsx(_components.p,{children:`Whether or not this passkey can be used for MFA`})}),_jsx(ParamField,{body:`authenticatorName`,type:`string`,required:true,id:`param-authenticator-name`,children:_jsx(_components.p,{children:`The type of authenticator holding the passkey`})}),_jsx(ParamField,{body:`createdWithDevice`,type:`string`,required:true,id:`param-created-with-device`,children:_jsx(_components.p,{children:`Metadata about the device that registered the passkey`})}),_jsx(ParamField,{body:`createdWithOs`,type:`string`,required:true,id:`param-created-with-os`,children:_jsx(_components.p,{children:`Metadata about the OS that registered the passkey`})}),_jsx(ParamField,{body:`createdWithBrowser`,type:`string`,required:true,id:`param-created-with-browser`,children:_jsx(_components.p,{children:`Metadata about the browser that registered the passkey`})})]}),_jsxs(Expandable,{title:`Telegram`,children:[_jsx(ParamField,{body:`type`,type:`'telegram'`,required:true,id:`param-type-17`,children:_jsx(_components.p,{children:`Denotes that this is a Telegram account`})}),_jsx(ParamField,{body:`telegramUserId`,type:`string`,required:true,id:`param-telegram-user-id`,children:_jsx(_components.p,{children:`The user ID that owns this Telegram account`})}),_jsx(ParamField,{body:`firstName`,type:`string | null`,required:true,id:`param-first-name`,children:_jsx(_components.p,{children:`The first name of the user`})}),_jsx(ParamField,{body:`lastName`,type:`string | null`,required:true,id:`param-last-name`,children:_jsx(_components.p,{children:`The last name of the user`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-6`,children:_jsx(_components.p,{children:`The username associated with the Telegram account`})}),_jsx(ParamField,{body:`photoUrl`,type:`string | null`,required:true,id:`param-photo-url`,children:_jsx(_components.p,{children:`The url of the user’s profile picture`})})]}),_jsxs(Expandable,{title:`CrossApp`,children:[_jsx(ParamField,{body:`type`,type:`'cross_app'`,required:true,id:`param-type-18`,children:_jsx(_components.p,{children:`Denotes that this is a cross-app account`})}),_jsx(ParamField,{body:`embeddedWallets`,type:`{ address: string }[]`,required:true,id:`param-embedded-wallets`,children:_jsx(_components.p,{children:`The user’s embedded wallet address(es) from the provider app`})}),_jsx(ParamField,{body:`smartWallets`,type:`{ address: string }[]`,required:true,id:`param-smart-wallets`,children:_jsx(_components.p,{children:`The user’s smart wallet address(es) from the provider app`})}),_jsx(ParamField,{body:`providerApp`,type:`ProviderAppMetadata`,required:true,id:`param-provider-app`,children:_jsx(_components.p,{children:`Metadata about the provider app`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-10`,children:_jsx(_components.p,{children:`The subject identifier for this cross-app account`})})]}),_jsx(`br`,{})]})]}),_jsx(ParamField,{body:`mfaMethods`,type:`array`,required:true,id:`param-mfa-methods`,children:_jsx(_components.p,{children:`The list of MFA Methods associated with this user.`})}),_jsx(ParamField,{body:`hasAcceptedTerms`,type:`boolean`,required:true,id:`param-has-accepted-terms`,children:_jsx(_components.p,{children:`Whether or not the user has explicitly accepted the Terms and Conditions and/or Privacy Policy`})}),_jsx(ParamField,{body:`isGuest`,type:`boolean`,required:true,id:`param-is-guest`,children:_jsx(_components.p,{children:`Whether or not the user is a guest`})}),_jsxs(Expandable,{title:`Optional fields`,children:[_jsxs(ParamField,{body:`email`,type:`object`,id:`param-email-7`,children:[_jsx(_components.p,{children:`The user’s email address, if they have linked one. It cannot be linked to another user.`}),_jsx(Expandable,{title:`Properties`,children:_jsx(ParamField,{body:`address`,type:`string`,id:`param-address-3`,children:_jsx(_components.p,{children:`The email address.`})})})]}),_jsxs(ParamField,{body:`phone`,type:`object`,id:`param-phone`,children:[_jsx(_components.p,{children:`The user’s phone number, if they have linked one. It cannot be linked to another user.`}),_jsx(Expandable,{title:`Properties`,children:_jsx(ParamField,{body:`number`,type:`string`,id:`param-number-1`,children:_jsx(_components.p,{children:`The phone number.`})})})]}),_jsx(ParamField,{body:`wallet`,type:`object`,id:`param-wallet`,children:_jsx(_components.p,{children:`The user’s first verified wallet, if they have linked at least one wallet. It cannot be linked to\nanother user.`})}),_jsxs(ParamField,{body:`smartWallet`,type:`object`,id:`param-smart-wallet`,children:[_jsx(_components.p,{children:`The user’s smart wallet, if they have set up through the Privy Smart Wallet SDK.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`address`,type:`string`,id:`param-address-4`,children:_jsx(_components.p,{children:`The wallet address.`})}),_jsx(ParamField,{body:`smartWalletType`,type:`string`,id:`param-smart-wallet-type-1`,children:_jsx(_components.p,{children:`The provider of the smart wallet.`})})]})]}),_jsxs(ParamField,{body:`google`,type:`object`,id:`param-google`,children:[_jsx(_components.p,{children:`The user’s Google account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-11`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`sub`}),` claim from the Google-issued JWT for this account.`]})}),_jsx(ParamField,{body:`email`,type:`string`,id:`param-email-8`,children:_jsx(_components.p,{children:`The email associated with the Google account.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-7`,children:_jsx(_components.p,{children:`The name associated with the Google account.`})})]})]}),_jsxs(ParamField,{body:`twitter`,type:`object`,id:`param-twitter`,children:[_jsx(_components.p,{children:`The user’s Twitter account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-12`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`sub`}),` claim from the Twitter-issued JWT for this account.`]})}),_jsx(ParamField,{body:`username`,type:`string`,id:`param-username-7`,children:_jsx(_components.p,{children:`The username associated with the Twitter account.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-8`,children:_jsx(_components.p,{children:`The name associated with the Twitter account.`})}),_jsx(ParamField,{body:`profilePictureUrl`,type:`string`,id:`param-profile-picture-url-2`,children:_jsx(_components.p,{children:`The profile picture URL associated with the Twitter account.`})})]})]}),_jsxs(ParamField,{body:`discord`,type:`object`,id:`param-discord`,children:[_jsx(_components.p,{children:`The user’s Discord account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-13`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`sub`}),` claim from the Discord-issued JWT for this account.`]})}),_jsx(ParamField,{body:`username`,type:`string`,id:`param-username-8`,children:_jsx(_components.p,{children:`The username associated with the Discord account.`})}),_jsx(ParamField,{body:`email`,type:`string`,id:`param-email-9`,children:_jsx(_components.p,{children:`The email associated with the Discord account.`})})]})]}),_jsxs(ParamField,{body:`github`,type:`object`,id:`param-github`,children:[_jsx(_components.p,{children:`The user’s Github account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-14`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`sub`}),` claim from the Github-issued JWT for this account.`]})}),_jsx(ParamField,{body:`username`,type:`string`,id:`param-username-9`,children:_jsx(_components.p,{children:`The username associated with the Github account.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-9`,children:_jsx(_components.p,{children:`The name associated with the Github account.`})}),_jsx(ParamField,{body:`email`,type:`string`,id:`param-email-10`,children:_jsx(_components.p,{children:`The email associated with the Github account.`})})]})]}),_jsxs(ParamField,{body:`spotify`,type:`object`,id:`param-spotify`,children:[_jsx(_components.p,{children:`The user’s Spotify account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-15`,children:_jsx(_components.p,{children:`The user id associated with the Spotify account.`})}),_jsx(ParamField,{body:`email`,type:`string`,id:`param-email-11`,children:_jsx(_components.p,{children:`The email associated with the Spotify account.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-10`,children:_jsx(_components.p,{children:`The display name associated with the Spotify account.`})})]})]}),_jsxs(ParamField,{body:`instagram`,type:`object`,id:`param-instagram`,children:[_jsx(_components.p,{children:`The user’s Instagram account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-16`,children:_jsx(_components.p,{children:`The user id associated with the Instagram account.`})}),_jsx(ParamField,{body:`username`,type:`string`,id:`param-username-10`,children:_jsx(_components.p,{children:`The username associated with the Instagram account.`})})]})]}),_jsxs(ParamField,{body:`tiktok`,type:`object`,id:`param-tiktok`,children:[_jsx(_components.p,{children:`The user’s Tiktok account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-17`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`sub`}),` claim from the Tiktok-issued JWT for this account.`]})}),_jsx(ParamField,{body:`username`,type:`string`,id:`param-username-11`,children:_jsx(_components.p,{children:`The username associated with the Tiktok account.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-11`,children:_jsx(_components.p,{children:`The display name associated with the Tiktok account.`})})]})]}),_jsxs(ParamField,{body:`line`,type:`object`,id:`param-line`,children:[_jsx(_components.p,{children:`The user’s Line account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-18`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`sub`}),` claim from the Line-issued JWT for this account.`]})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-12`,children:_jsx(_components.p,{children:`The name associated with the Line account.`})}),_jsx(ParamField,{body:`email`,type:`string`,id:`param-email-12`,children:_jsx(_components.p,{children:`The email associated with the Line account.`})}),_jsx(ParamField,{body:`profilePictureUrl`,type:`string`,id:`param-profile-picture-url-3`,children:_jsx(_components.p,{children:`The profile image URL associated with the Line account.`})})]})]}),_jsxs(ParamField,{body:`linkedin`,type:`object`,id:`param-linkedin`,children:[_jsx(_components.p,{children:`The user’s LinkedIn account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-19`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`sub`}),` claim from the LinkedIn-issued JWT for this account.`]})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-13`,children:_jsx(_components.p,{children:`The name associated with the LinkedIn account.`})}),_jsx(ParamField,{body:`email`,type:`string`,id:`param-email-13`,children:_jsx(_components.p,{children:`The email associated with the LinkedIn account.`})}),_jsx(ParamField,{body:`vanityName`,type:`string`,id:`param-vanity-name-1`,children:_jsx(_components.p,{children:`The vanityName/profile URL associated with the LinkedIn account.`})})]})]}),_jsxs(ParamField,{body:`apple`,type:`object`,id:`param-apple`,children:[_jsx(_components.p,{children:`The user’s Apple account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`subject`,type:`string`,id:`param-subject-20`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`sub`}),` claim from the Apple-issued JWT for this account.`]})}),_jsx(ParamField,{body:`email`,type:`string`,id:`param-email-14`,children:_jsx(_components.p,{children:`The email associated with the Apple account.`})})]})]}),_jsxs(ParamField,{body:`farcaster`,type:`object`,id:`param-farcaster`,children:[_jsx(_components.p,{children:`The user’s Farcaster account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`fid`,type:`number`,id:`param-fid-1`,children:_jsx(_components.p,{children:`The Farcaster on-chain FID`})}),_jsx(ParamField,{body:`ownerAddress`,type:`string`,id:`param-owner-address-1`,children:_jsx(_components.p,{children:`The Farcaster ethereum address that owns the FID`})}),_jsx(ParamField,{body:`username`,type:`string`,id:`param-username-12`,children:_jsx(_components.p,{children:`The Farcaster protocol username`})}),_jsx(ParamField,{body:`displayName`,type:`string`,id:`param-display-name-1`,children:_jsx(_components.p,{children:`The Farcaster protocol display name`})}),_jsx(ParamField,{body:`bio`,type:`string`,id:`param-bio-1`,children:_jsx(_components.p,{children:`The Farcaster protocol bio`})}),_jsx(ParamField,{body:`pfp`,type:`string`,id:`param-pfp-1`,children:_jsx(_components.p,{children:`The Farcaster protocol profile picture`})}),_jsx(ParamField,{body:`url`,type:`string`,id:`param-url-1`,children:_jsx(_components.p,{children:`The Farcaster protocol profile url`})}),_jsx(ParamField,{body:`signerPublicKey`,type:`string`,id:`param-signer-public-key-1`,children:_jsx(_components.p,{children:`The public key of the signer, if set. This is not guaranteed to be valid, as the user can\nrevoke the key at any time`})})]})]}),_jsxs(ParamField,{body:`telegram`,type:`object`,id:`param-telegram`,children:[_jsx(_components.p,{children:`The user’s Telegram account, if they have linked one. It cannot be linked to another user.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ParamField,{body:`telegramUserId`,type:`string`,id:`param-telegram-user-id-1`,children:_jsx(_components.p,{children:`The user ID that owns this Telegram account.`})}),_jsx(ParamField,{body:`firstName`,type:`string`,id:`param-first-name-1`,children:_jsx(_components.p,{children:`The first name of the user.`})}),_jsx(ParamField,{body:`lastName`,type:`string`,id:`param-last-name-1`,children:_jsx(_components.p,{children:`The last name of the user.`})}),_jsx(ParamField,{body:`username`,type:`string`,id:`param-username-13`,children:_jsx(_components.p,{children:`The username associated with the Telegram account.`})}),_jsx(ParamField,{body:`photoUrl`,type:`string`,id:`param-photo-url-1`,children:_jsx(_components.p,{children:`The url of the user’s profile picture.`})})]})]}),_jsx(ParamField,{body:`customMetadata`,type:`object`,id:`param-custom-metadata`,children:_jsx(_components.p,{children:`Custom metadata field for a given user account`})})]}),_jsx(`br`,{})]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`You can set custom metadata for a user via Privy’s backend `,_jsx(_components.a,{href:`/user-management/users/custom-metadata`,children:`server SDK and/or\nAPI endpoints`}),`.`]})}),_jsxs(_components.p,{children:[`If a user has not linked an account of a given type, the corresponding field on the `,_jsx(_components.a,{href:`/user-management/users/the-user-object`,children:_jsx(_components.code,{children:`user`})}),` object will be undefined.`]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`Users can have multiple passkeys linked to their account. To find all linked\npasskeys, use the `,_jsx(_components.code,{children:`linkedAccounts`}),` list and filter by `,_jsx(_components.code,{children:`passkey`}),` account type.`]})}),_jsxs(_components.p,{children:[`Below is an example of how you might use the `,_jsx(_components.a,{href:`/user-management/users/the-user-object`,children:_jsx(_components.strong,{children:_jsx(_components.code,{children:`user`})})}),` object in a minimal user profile:`]}),_jsx(CodeBlock,{filename:`Example User Profile`,numberOfLines:`33`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`33`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`usePrivy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@privy-io/react-auth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` User`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`ready`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`authenticated`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` usePrivy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Show nothing if user is not authenticated or data is still loading`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ready`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authenticated`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`||`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`User `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` has linked the following accounts:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`ul`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Apple: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`apple`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`apple`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`email`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Discord: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`discord`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`discord`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Email: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`email`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`email`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Farcaster: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`farcaster`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`farcaster`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`GitHub: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`github`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`github`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Google: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`google`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`google`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`email`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Instagram: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`instagram`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`instagram`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LinkedIn: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`linkedin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`linkedin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`email`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Line: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`line`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`line`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`email`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Phone: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`phone`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`phone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`number`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Spotify: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`spotify`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`spotify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`email`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Telegram: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`telegram`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`telegram`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`TikTok: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tiktok`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tiktok`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Twitter: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`twitter`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`twitter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`username`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Wallet: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`wallet`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`wallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"None\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`li`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`ul`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(Heading,{level:`3`,id:`refreshing-the-user-object`,children:[`Refreshing the `,_jsx(_components.code,{children:`user`}),` object`]}),_jsxs(_components.p,{children:[`In order to update a `,_jsx(_components.code,{children:`user`}),` object after any type of backend update, (i.e. `,_jsx(_components.a,{href:`/user-management/users/unlinking-accounts`,children:`unlinking an account`}),` or setting `,_jsx(_components.a,{href:`/user-management/users/custom-metadata`,children:`custom metadata`}),`) you can ensure the user object in the application is up-to-date by invoking the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`refreshUser`})}),` method from the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`useUser`})}),` hook:`]}),_jsx(CodeBlock,{filename:`Example refresh User`,numberOfLines:`11`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`useUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@privy-io/react-auth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`refreshUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` useUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` updateMetadata`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Make API request to update custom metadata for a user from the backend`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` updateUserMetadata`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` refreshUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\"// `user` object should be updated\"})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})]}),`\n`,_jsxs(View,{title:`React Native`,icon:`react`,id:`react-native`,children:[_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`You can get information about the current user from the `,_jsx(_components.code,{children:`user`}),` object in the `,_jsx(_components.code,{children:`usePrivy`}),` hook:`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` usePrivy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`For unauthenticated users, the `,_jsx(_components.code,{children:`user`}),` object will be null. For authenticated users, you can use:`]})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`user.id`})}),` to get their Privy DID, which you may use to identify your user on your backend`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`user.created_at`})}),` to get a UNIX timestamp of when the user was created.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`user.linked_accounts`})}),` to get an array of the user’s linked accounts`]}),`\n`]}),_jsx(Heading,{level:`2`,id:`parsing-linked-accounts`,children:`Parsing linked accounts`}),_jsxs(_components.p,{children:[`Each entry in the `,_jsx(_components.code,{children:`linked_accounts`}),` array has different fields depending on the user data associated with that account type.`]}),_jsx(_components.p,{children:`See the dropdowns below to see the specific fields associated with each account type.`}),_jsxs(_components.p,{children:[`Embedded wallet entries include `,_jsx(_components.code,{children:`user_can_sign`}),`, which is `,_jsx(_components.code,{children:`false`}),` when the user is only the wallet’s `,_jsx(_components.a,{href:`/kyc-kyb/entities#check-whether-the-user-can-sign`,children:`entity`}),` and can’t sign with it.`]}),_jsxs(Heading,{level:`3`,id:`refreshing-the-user-object-2`,children:[`Refreshing the `,_jsx(_components.code,{children:`user`}),` object`]}),_jsxs(_components.p,{children:[`In order to update a `,_jsx(_components.code,{children:`user`}),` object after any type of backend update, (i.e. `,_jsx(_components.a,{href:`/user-management/users/unlinking-accounts`,children:`unlinking an account`}),` or setting `,_jsx(_components.a,{href:`/user-management/users/custom-metadata`,children:`custom metadata`}),`) you can ensure the user object in the application is up-to-date by invoking the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`get`})}),` method from the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`privyClient.user`})}),` object:`]}),_jsxs(Tabs,{children:[_jsx(Tab,{title:`_layout.tsx`,id:`_layout-tsx`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`createPrivyClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PrivyProvider`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@privy-io/expo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` privyClient`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createPrivyClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` appId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"your-app-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` default`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` RootLayout`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`() `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`PrivyProvider`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` appId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Constants`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`expoConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`extra`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`privyAppId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`privyClient`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` >`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Stack`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Stack.Screen`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"index\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Stack`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`PrivyProvider`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`index.tsx`,id:`index-tsx`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`privyClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@/_layout'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` updateMetadata`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Make API request to update custom metadata for a user from the backend`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` updateUserMetadata`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Refresh the user object to ensure it reflects the latest backend updates`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` privyClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\"// `user` object should be updated\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})})]}),_jsxs(Expandable,{title:`Wallet`,children:[_jsx(ParamField,{body:`type`,type:`'wallet'`,required:true,id:`param-type-19`,children:_jsx(_components.p,{children:`Denotes that this is a wallet account`})}),_jsx(ParamField,{body:`id`,type:`string | null`,required:true,id:`param-id-2`,children:_jsx(_components.p,{children:`The wallet ID of the wallet. Null if the wallet is not delegated. Only applies to embedded\nwallets (walletClientType === ‘privy’)`})}),_jsx(ParamField,{body:`address`,type:`string`,required:true,id:`param-address-5`,children:_jsx(_components.p,{children:`The wallet address`})}),_jsx(ParamField,{body:`chainType`,type:`'ethereum' | 'solana'`,required:true,id:`param-chain-type-1`,children:_jsx(_components.p,{children:`Chain type of the wallet address`})}),_jsx(ParamField,{body:`walletClientType`,type:`string`,required:true,id:`param-wallet-client-type-1`,children:_jsx(_components.p,{children:`The wallet client used for this wallet during the most recent verification. If the value is\n‘privy’, then this is a privy embedded wallet`})}),_jsx(ParamField,{body:`connectorType`,type:`string`,required:true,id:`param-connector-type-1`,children:_jsx(_components.p,{children:`The connector type used for this wallet during the most recent verification`})}),_jsx(ParamField,{body:`recoveryMethod`,type:`'privy' | UserRecoveryMethod`,required:true,id:`param-recovery-method-1`,children:_jsx(_components.p,{children:`If this is a ‘privy’ embedded wallet, stores the recovery method`})}),_jsx(ParamField,{body:`imported`,type:`boolean`,required:true,id:`param-imported-1`,children:_jsx(_components.p,{children:`Whether the wallet is imported. Only applies to embedded wallets (walletClientType === ‘privy’)`})}),_jsx(ParamField,{body:`delegated`,type:`boolean`,required:true,id:`param-delegated-1`,children:_jsx(_components.p,{children:`Whether the wallet is delegated. Only applies to embedded wallets (walletClientType === ‘privy’)`})}),_jsx(ParamField,{body:`userCanSign`,type:`boolean`,required:true,id:`param-user-can-sign-1`,children:_jsxs(_components.p,{children:[`Whether the user can sign with this wallet on their own. `,_jsx(_components.code,{children:`false`}),` when the user is only the\nwallet’s `,_jsx(_components.a,{href:`/kyc-kyb/entities#check-whether-the-user-can-sign`,children:`entity`})]})}),_jsx(ParamField,{body:`walletIndex`,type:`number | null`,required:true,id:`param-wallet-index-1`,children:_jsx(_components.p,{children:`HD index for the wallet. Only applies to embedded wallets (walletClientType === ‘privy’)`})})]}),_jsxs(Expandable,{title:`SmartWallet`,children:[_jsx(ParamField,{body:`type`,type:`'smart_wallet'`,required:true,id:`param-type-20`,children:_jsx(_components.p,{children:`Denotes that this is a smart wallet account`})}),_jsx(ParamField,{body:`address`,type:`string`,required:true,id:`param-address-6`,children:_jsx(_components.p,{children:`The wallet address`})}),_jsx(ParamField,{body:`smartWalletType`,type:`SmartWalletType`,required:true,id:`param-smart-wallet-type-2`,children:_jsx(_components.p,{children:`The provider of the smart wallet`})})]}),_jsxs(Expandable,{title:`Email`,children:[_jsx(ParamField,{body:`type`,type:`'email'`,required:true,id:`param-type-21`,children:_jsx(_components.p,{children:`Denotes that this is an email account`})}),_jsx(ParamField,{body:`address`,type:`string`,required:true,id:`param-address-7`,children:_jsx(_components.p,{children:`The email address`})})]}),_jsxs(Expandable,{title:`Phone`,children:[_jsx(ParamField,{body:`type`,type:`'phone'`,required:true,id:`param-type-22`,children:_jsx(_components.p,{children:`Denotes that this is a phone account`})}),_jsx(ParamField,{body:`number`,type:`string`,required:true,id:`param-number-2`,children:_jsx(_components.p,{children:`The phone number`})})]}),_jsxs(Expandable,{title:`Google`,children:[_jsx(ParamField,{body:`type`,type:`'google_oauth'`,required:true,id:`param-type-23`,children:_jsx(_components.p,{children:`Denotes that this is a Google account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-21`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Google-issued JWT for this account`})}),_jsx(ParamField,{body:`email`,type:`string`,required:true,id:`param-email-15`,children:_jsx(_components.p,{children:`The email associated with the Google account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-14`,children:_jsx(_components.p,{children:`The name associated with the Google account`})})]}),_jsxs(Expandable,{title:`Twitter`,children:[_jsx(ParamField,{body:`type`,type:`'twitter_oauth'`,required:true,id:`param-type-24`,children:_jsx(_components.p,{children:`Denotes that this is a Twitter account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-22`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Twitter-issued JWT for this account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-14`,children:_jsx(_components.p,{children:`The username associated with the Twitter account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-15`,children:_jsx(_components.p,{children:`The name associated with the Twitter account`})}),_jsx(ParamField,{body:`profilePictureUrl`,type:`string | null`,required:true,id:`param-profile-picture-url-4`,children:_jsx(_components.p,{children:`The profile picture URL associated with the Twitter account`})})]}),_jsxs(Expandable,{title:`Discord`,children:[_jsx(ParamField,{body:`type`,type:`'discord_oauth'`,required:true,id:`param-type-25`,children:_jsx(_components.p,{children:`Denotes that this is a Discord account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-23`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Discord-issued JWT for this account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-15`,children:_jsx(_components.p,{children:`The username associated with the Discord account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-16`,children:_jsx(_components.p,{children:`The email associated with the Discord account`})})]}),_jsxs(Expandable,{title:`Github`,children:[_jsx(ParamField,{body:`type`,type:`'github_oauth'`,required:true,id:`param-type-26`,children:_jsx(_components.p,{children:`Denotes that this is a Github account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-24`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Github-issued JWT for this account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-16`,children:_jsx(_components.p,{children:`The username associated with the Github account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-16`,children:_jsx(_components.p,{children:`The name associated with the Github account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-17`,children:_jsx(_components.p,{children:`The email associated with the Github account`})})]}),_jsxs(Expandable,{title:`Spotify`,children:[_jsx(ParamField,{body:`type`,type:`'spotify_oauth'`,required:true,id:`param-type-27`,children:_jsx(_components.p,{children:`Denotes that this is a Spotify account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-25`,children:_jsx(_components.p,{children:`The user id associated with the Spotify account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-18`,children:_jsx(_components.p,{children:`The email associated with the Spotify account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-17`,children:_jsx(_components.p,{children:`The display name associated with the Spotify account`})})]}),_jsxs(Expandable,{title:`Instagram`,children:[_jsx(ParamField,{body:`type`,type:`'instagram_oauth'`,required:true,id:`param-type-28`,children:_jsx(_components.p,{children:`Denotes that this is an Instagram account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-26`,children:_jsx(_components.p,{children:`The user id associated with the Instagram account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-17`,children:_jsx(_components.p,{children:`The username associated with the Instagram account`})})]}),_jsxs(Expandable,{title:`Tiktok`,children:[_jsx(ParamField,{body:`type`,type:`'tiktok_oauth'`,required:true,id:`param-type-29`,children:_jsx(_components.p,{children:`Denotes that this is a Tiktok account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-27`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Tiktok-issued JWT for this account`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-18`,children:_jsx(_components.p,{children:`The username associated with the Tiktok account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-18`,children:_jsx(_components.p,{children:`The display name associated with the Tiktok account`})})]}),_jsxs(Expandable,{title:`Line`,children:[_jsx(ParamField,{body:`type`,type:`'line_oauth'`,required:true,id:`param-type-30`,children:_jsx(_components.p,{children:`Denotes that this is a Line account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-28`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Line-issued JWT for this account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-19`,children:_jsx(_components.p,{children:`The name associated with the Line account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-19`,children:_jsx(_components.p,{children:`The email associated with the Line account`})}),_jsx(ParamField,{body:`profilePictureUrl`,type:`string | null`,required:true,id:`param-profile-picture-url-5`,children:_jsx(_components.p,{children:`The profile image URL associated with the Line account`})})]}),_jsxs(Expandable,{title:`LinkedIn`,children:[_jsx(ParamField,{body:`type`,type:`'linkedin_oauth'`,required:true,id:`param-type-31`,children:_jsx(_components.p,{children:`Denotes that this is a LinkedIn account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-29`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the LinkedIn-issued JWT for this account`})}),_jsx(ParamField,{body:`name`,type:`string | null`,required:true,id:`param-name-20`,children:_jsx(_components.p,{children:`The name associated with the LinkedIn account`})}),_jsx(ParamField,{body:`email`,type:`string | null`,required:true,id:`param-email-20`,children:_jsx(_components.p,{children:`The email associated with the LinkedIn account`})}),_jsx(ParamField,{body:`vanityName`,type:`string | null`,required:true,id:`param-vanity-name-2`,children:_jsx(_components.p,{children:`The vanityName/profile URL associated with the LinkedIn account`})})]}),_jsxs(Expandable,{title:`Apple`,children:[_jsx(ParamField,{body:`type`,type:`'apple_oauth'`,required:true,id:`param-type-32`,children:_jsx(_components.p,{children:`Denotes that this is an Apple account`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-30`,children:_jsx(_components.p,{children:`The ‘sub’ claim from the Apple-issued JWT for this account`})}),_jsx(ParamField,{body:`email`,type:`string`,required:true,id:`param-email-21`,children:_jsx(_components.p,{children:`The email associated with the Apple account`})})]}),_jsxs(Expandable,{title:`CustomJwt`,children:[_jsx(ParamField,{body:`type`,type:`'custom_auth'`,required:true,id:`param-type-33`,children:_jsx(_components.p,{children:`Denotes that this is a custom account`})}),_jsx(ParamField,{body:`customUserId`,type:`string`,required:true,id:`param-custom-user-id-1`,children:_jsx(_components.p,{children:`The user ID given by the custom auth provider`})})]}),_jsxs(Expandable,{title:`Farcaster`,children:[_jsx(ParamField,{body:`type`,type:`'farcaster'`,required:true,id:`param-type-34`,children:_jsx(_components.p,{children:`Denotes that this is a Farcaster account`})}),_jsx(ParamField,{body:`fid`,type:`number | null`,required:true,id:`param-fid-2`,children:_jsx(_components.p,{children:`The Farcaster on-chain FID`})}),_jsx(ParamField,{body:`ownerAddress`,type:`string`,required:true,id:`param-owner-address-2`,children:_jsx(_components.p,{children:`The Farcaster ethereum address that owns the FID`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-19`,children:_jsx(_components.p,{children:`The Farcaster protocol username`})}),_jsx(ParamField,{body:`displayName`,type:`string | null`,required:true,id:`param-display-name-2`,children:_jsx(_components.p,{children:`The Farcaster protocol display name`})}),_jsx(ParamField,{body:`bio`,type:`string | null`,required:true,id:`param-bio-2`,children:_jsx(_components.p,{children:`The Farcaster protocol bio`})}),_jsx(ParamField,{body:`pfp`,type:`string | null`,required:true,id:`param-pfp-2`,children:_jsx(_components.p,{children:`The Farcaster protocol profile picture`})}),_jsx(ParamField,{body:`url`,type:`string | null`,required:true,id:`param-url-2`,children:_jsx(_components.p,{children:`The Farcaster protocol profile url`})}),_jsx(ParamField,{body:`signerPublicKey`,type:`string | null`,required:true,id:`param-signer-public-key-2`,children:_jsx(_components.p,{children:`The public key of the signer, if set. This is not guaranteed to be valid, as the user can revoke\nthe key at any time`})})]}),_jsxs(Expandable,{title:`Passkey`,children:[_jsx(ParamField,{body:`type`,type:`'passkey'`,required:true,id:`param-type-35`,children:_jsx(_components.p,{children:`Denotes that this is a Passkey account`})}),_jsx(ParamField,{body:`credentialId`,type:`string`,required:true,id:`param-credential-id-1`,children:_jsx(_components.p,{children:`The passkey credential ID`})}),_jsx(ParamField,{body:`enrolledInMfa`,type:`boolean`,required:true,id:`param-enrolled-in-mfa-1`,children:_jsx(_components.p,{children:`Whether or not this passkey can be used for MFA`})}),_jsx(ParamField,{body:`authenticatorName`,type:`string`,required:true,id:`param-authenticator-name-1`,children:_jsx(_components.p,{children:`The type of authenticator holding the passkey`})}),_jsx(ParamField,{body:`createdWithDevice`,type:`string`,required:true,id:`param-created-with-device-1`,children:_jsx(_components.p,{children:`Metadata about the device that registered the passkey`})}),_jsx(ParamField,{body:`createdWithOs`,type:`string`,required:true,id:`param-created-with-os-1`,children:_jsx(_components.p,{children:`Metadata about the OS that registered the passkey`})}),_jsx(ParamField,{body:`createdWithBrowser`,type:`string`,required:true,id:`param-created-with-browser-1`,children:_jsx(_components.p,{children:`Metadata about the browser that registered the passkey`})})]}),_jsxs(Expandable,{title:`Telegram`,children:[_jsx(ParamField,{body:`type`,type:`'telegram'`,required:true,id:`param-type-36`,children:_jsx(_components.p,{children:`Denotes that this is a Telegram account`})}),_jsx(ParamField,{body:`telegramUserId`,type:`string`,required:true,id:`param-telegram-user-id-2`,children:_jsx(_components.p,{children:`The user ID that owns this Telegram account`})}),_jsx(ParamField,{body:`firstName`,type:`string | null`,required:true,id:`param-first-name-2`,children:_jsx(_components.p,{children:`The first name of the user`})}),_jsx(ParamField,{body:`lastName`,type:`string | null`,required:true,id:`param-last-name-2`,children:_jsx(_components.p,{children:`The last name of the user`})}),_jsx(ParamField,{body:`username`,type:`string | null`,required:true,id:`param-username-20`,children:_jsx(_components.p,{children:`The username associated with the Telegram account`})}),_jsx(ParamField,{body:`photoUrl`,type:`string | null`,required:true,id:`param-photo-url-2`,children:_jsx(_components.p,{children:`The url of the user’s profile picture`})})]}),_jsxs(Expandable,{title:`CrossApp`,children:[_jsx(ParamField,{body:`type`,type:`'cross_app'`,required:true,id:`param-type-37`,children:_jsx(_components.p,{children:`Denotes that this is a cross-app account`})}),_jsx(ParamField,{body:`embeddedWallets`,type:`{ address: string }[]`,required:true,id:`param-embedded-wallets-1`,children:_jsx(_components.p,{children:`The user’s embedded wallet address(es) from the provider app`})}),_jsx(ParamField,{body:`smartWallets`,type:`{ address: string }[]`,required:true,id:`param-smart-wallets-1`,children:_jsx(_components.p,{children:`The user’s smart wallet address(es) from the provider app`})}),_jsx(ParamField,{body:`providerApp`,type:`ProviderAppMetadata`,required:true,id:`param-provider-app-1`,children:_jsx(_components.p,{children:`Metadata about the provider app`})}),_jsx(ParamField,{body:`subject`,type:`string`,required:true,id:`param-subject-31`,children:_jsx(_components.p,{children:`The subject identifier for this cross-app account`})})]}),_jsx(`br`,{})]}),`\n`,_jsxs(View,{title:`Flutter`,icon:`flutter`,id:`flutter`,children:[_jsxs(_components.p,{children:[`Once a user has authenticated with Privy, you will have access to the `,_jsx(_components.code,{children:`PrivyUser`}),` object. This will be the main entry point for all user actions.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`dart`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`dart`,children:_jsxs(_components.code,{language:`dart`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`abstract`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` PrivyUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// Unique identifier for the user.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` String`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` id;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// List of linked accounts associated with the user.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`LinkedAccounts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` linkedAccounts;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// List of embedded Ethereum wallets associated with the user.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`EmbeddedEthereumWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` embeddedEthereumWallets;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// List of embedded Solana wallets associated with the user.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`EmbeddedSolanaWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` embeddedSolanaWallets;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// Creates an Ethereum embedded wallet for the user.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` Future`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`EmbeddedEthereumWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>> `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createEthereumWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`bool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` allowAdditional `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// Creates a Solana embedded wallet for the user.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` Future`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`EmbeddedSolanaWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>> `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createSolanaWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`2`,id:`linked-accounts`,children:`Linked accounts`}),_jsx(_components.p,{children:`A user contains a list of LinkedAccounts, which are all account types associated with the user.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`dart`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`dart`,children:_jsxs(_components.code,{language:`dart`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/// A sealed class representing different types of linked accounts.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`sealed`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` LinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/// Represents a phone number-based linked account.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` PhoneAccount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` extends`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` LinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/// Represents an email-based linked account.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` EmailAccount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` extends`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` LinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/// Represents a custom authentication-linked account.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` CustomAuth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` extends`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` LinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/// Represents an Ethereum embedded wallet linked account.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` EmbeddedEthereumWalletAccount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` extends`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` LinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/// Represents a Solana embedded wallet linked account.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` EmbeddedSolanaWalletAccount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` extends`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` LinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {}`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`EmbeddedEthereumWalletAccount`}),`, `,_jsx(_components.code,{children:`EmbeddedSolanaWalletAccount`}),`, and `,_jsx(_components.code,{children:`EmbeddedWallet`}),` include `,_jsx(_components.code,{children:`userCanSign`}),`, which is `,_jsx(_components.code,{children:`false`}),` when the user is only the wallet’s `,_jsx(_components.a,{href:`/kyc-kyb/entities#check-whether-the-user-can-sign`,children:`entity`}),` and can’t sign with it.`]}),_jsxs(Heading,{level:`2`,id:`refreshing-the-user-object-3`,children:[`Refreshing the `,_jsx(_components.code,{children:`user`}),` object`]}),_jsxs(_components.p,{children:[`To ensure the `,_jsx(_components.code,{children:`user`}),` object reflects the latest backend updates, invoke the `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`refresh`})}),` method on the user instance to synchronize it with the current data:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`dart`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`dart`,children:_jsxs(_components.code,{language:`dart`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`final`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` refreshResult `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` privy.user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`refresh`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`If the refresh operation is successful, `,_jsx(_components.code,{children:`refresh()`}),` will return `,_jsx(_components.code,{children:`Result.success`}),` with no additional data.\nIf an error occurs during the refresh operation, `,_jsx(_components.code,{children:`refresh()`}),` will return `,_jsx(_components.code,{children:`Result.failure`}),` with an encapsulated `,_jsx(_components.code,{children:`PrivyAuthException`}),`.`]}),_jsx(_components.hr,{})]}),`\n`,_jsxs(View,{title:`Android`,icon:`android`,id:`android`,children:[_jsxs(_components.p,{children:[`Once a user has authenticated with Privy, you will have access to the `,_jsx(_components.code,{children:`PrivyUser`}),` object. This will be the main entry point for all user actions.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`32`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` PrivyUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // The user's Privy ID`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` id: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // A list of all linked accounts - can be authentication methods or embedded wallets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` linkedAccounts: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`LinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>,`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // A list of user's ethereum wallets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ethereumWallets: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`EmbeddedEthereumWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>,`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // A list of the user's solana wallets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` solanaWallets: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`EmbeddedSolanaWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Refresh the user`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` suspend`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` refresh`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Unit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Other user methods`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` sealed`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` interface`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` LinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` PhoneAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/* Account specific data */`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`LinkedAccount`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` EmailAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/* Account specific data */`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`LinkedAccount`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CustomAuth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/* Account specific data */`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`LinkedAccount`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` EmbeddedEthereumWalletAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/* Account specific data */`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`LinkedAccount`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` EmbeddedSolanaWalletAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/* Account specific data */`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`LinkedAccount`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Other linked account types`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`EmbeddedEthereumWalletAccount`}),`, `,_jsx(_components.code,{children:`EmbeddedSolanaWalletAccount`}),`, and `,_jsx(_components.code,{children:`EmbeddedWallet`}),` include `,_jsx(_components.code,{children:`userCanSign`}),`, which is `,_jsx(_components.code,{children:`false`}),` when the user is only the wallet’s `,_jsx(_components.a,{href:`/kyc-kyb/entities#check-whether-the-user-can-sign`,children:`entity`}),` and can’t sign with it.`]})]}),`\n`,_jsxs(View,{title:`Swift`,icon:`swift`,id:`swift`,children:[_jsxs(_components.p,{children:[`Once a user has authenticated with Privy, you will have access to the `,_jsx(_components.code,{children:`PrivyUser`}),` object. This will be the main entry point for all user actions.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`38`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`38`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` protocol`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` PrivyUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// The user's Privy ID`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` id: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// The user's ID token`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` identityToken: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// The point in time at which the logged in user was created.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /// Value will only be nil if there is no user currently logged in.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` createdAt: Date`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // A list of all linked accounts - can be authentication methods or embedded wallets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` linkedAccounts: [LinkedAccount] { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // A list of user's ethereum wallets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` embeddedEthereumWallets: [EmbeddedEthereumWallet] { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // A list of the user's solana wallets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` embeddedSolanaWallets: [EmbeddedSolanaWallet] { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Refresh the user`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` refresh`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` throws`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Returns the user's access token, but will first refresh the user session if needed.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getAccessToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` throws`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ->`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` String`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Other user methods`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` enum`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` LinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` case`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` phone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(PhoneNumberAccount)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` case`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` email`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(EmailAccount)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` case`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` customAuth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(CustomAuth)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` case`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` embeddedEthereumWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(EmbeddedEthereumWalletAccount)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` case`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` embeddedSolanaWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(EmbeddedSolanaWalletAccount)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Other linked account types`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`EmbeddedEthereumWalletAccount`}),`, `,_jsx(_components.code,{children:`EmbeddedSolanaWalletAccount`}),`, and `,_jsx(_components.code,{children:`EmbeddedWallet`}),` include `,_jsx(_components.code,{children:`userCanSign`}),`, which is `,_jsx(_components.code,{children:`false`}),` when the user is only the wallet’s `,_jsx(_components.a,{href:`/kyc-kyb/entities#check-whether-the-user-can-sign`,children:`entity`}),` and can’t sign with it.`]})]}),`\n`,_jsxs(View,{title:`Unity`,icon:`unity`,id:`unity`,children:[_jsxs(_components.p,{children:[`Once your user has successfully authenticated, you can get an `,_jsx(_components.code,{children:`IPrivyUser`}),` object containing their account data via:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// User will be null if no user is authenticated`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`IPrivyUser`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PrivyManager`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Instance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GetUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`IPrivyUser`}),` interface is defined as follows:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`27`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`27`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` interface`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` IPrivyUser`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // The user's ID`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` string`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` Id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // List of the User's linked accounts`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` PrivyLinkedAccount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[] `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`LinkedAccounts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // A list of the user's embedded ethereum wallets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` IEmbeddedEthereumWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[] `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`EmbeddedEthereumWallets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // A list of the user's embedded solana wallets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` IEmbeddedSolanaWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[] `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`EmbeddedSolanaWallets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Creates an embedded ethereum wallet for the user`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Task`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`IEmbeddedEthereumWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`CreateEthereumWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`bool`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` allowAdditional`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Creates an embedded ethereum wallet at a specific HD index`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Task`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`IEmbeddedEthereumWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`CreateEthereumWalletAtHdIndex`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`int`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` hdWalletIndex`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Creates an embedded solana wallet for the user`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Task`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`IEmbeddedSolanaWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`CreateSolanaWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`bool`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` allowAdditional`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Custom user metadata, stored as a set of key-value pairs.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // This custom metadata is set server-side.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Dictionary`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`CustomMetadata`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PrivyEmbeddedWalletAccount`}),`, `,_jsx(_components.code,{children:`PrivyEmbeddedSolanaWalletAccount`}),`, `,_jsx(_components.code,{children:`IEmbeddedEthereumWallet`}),`, and `,_jsx(_components.code,{children:`IEmbeddedSolanaWallet`}),` include `,_jsx(_components.code,{children:`UserCanSign`}),`, which is `,_jsx(_components.code,{children:`false`}),` when the user is only the wallet’s `,_jsx(_components.a,{href:`/kyc-kyb/entities#check-whether-the-user-can-sign`,children:`entity`}),` and can’t sign with it.`]}),_jsxs(Warning,{children:[_jsxs(_components.p,{children:[`Make sure you subscribe to the `,_jsx(_components.a,{href:`/authentication/user-authentication/authentication-state`,children:`Authentication State Updates`}),` and avoid calling the `,_jsx(_components.code,{children:`IPrivyUser`}),` object without being Authenticated, as properties will return a default value otherwise.`]}),_jsx(Accordion,{title:`See the default values for IPrivyUser when the user is not authenticated:`,id:`see-the-default-values-for-iprivyuser-when-the-user-is-not-authenticated`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`user.Id = \"\"`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`user.LinkedAccounts = []`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`user.EmbeddedEthereumWallets = []`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`user.EmbeddedSolanaWallets = []`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`user.CustomMetadata = new Dictionary()`})}),`\n`]})})]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`You can set custom metadata for a user via Privy’s backend `,_jsx(_components.a,{href:`/user-management/users/custom-metadata`,children:`server SDK and/or API endpoints`}),`.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Handling the user object","sidebarTitle":"The user object","description":null,"href":"/user-management/users/the-user-object"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Unauthenticated users","slug":"unauthenticated-users","depth":3,"children":[],"viewId":"React"},{"title":"Authenticated users","slug":"authenticated-users","depth":3,"children":[],"viewId":"React"},{"title":"Refreshing the user object","slug":"refreshing-the-user-object","depth":3,"children":[],"viewId":"React"},{"title":"Parsing linked accounts","slug":"parsing-linked-accounts","depth":2,"children":[{"title":"Refreshing the user object","slug":"refreshing-the-user-object-2","depth":3,"children":[],"viewId":"React Native"}],"viewId":"React Native"},{"title":"Linked accounts","slug":"linked-accounts","depth":2,"children":[],"viewId":"Flutter"},{"title":"Refreshing the user object","slug":"refreshing-the-user-object-3","depth":2,"children":[],"viewId":"Flutter"}],"multiViewItems":[{"title":"React","content":"","icon":"react","id":"react","active":true},{"title":"React Native","content":"","icon":"react","id":"react-native","active":false},{"title":"Flutter","content":"","icon":"flutter","id":"flutter","active":false},{"title":"Android","content":"Once a user has authenticated with Privy, you will have access to the `PrivyUser` object. This will be the main entry point for all user actions.\n\n```kotlin theme={\"system\"}\npublic data class PrivyUser(\n // The user's Privy ID\n val id: String,\n\n // A list of all linked accounts - can be authentication methods or embedded wallets\n val linkedAccounts: List\u003cLinkedAccount>,\n\n // A list of user's ethereum wallets\n val ethereumWallets: List\u003cEmbeddedEthereumWallet>,\n\n // A list of the user's solana wallets\n val solanaWallets: List\u003cEmbeddedSolanaWallet>\n\n // Refresh the user\n public suspend fun refresh(): Result\u003cUnit>\n\n // Other user methods\n)\n\npublic sealed interface LinkedAccount {\n public data class PhoneAccount(/* Account specific data */) : LinkedAccount\n\n public data class EmailAccount(/* Account specific data */) : LinkedAccount\n\n public data class CustomAuth(/* Account specific data */) : LinkedAccount\n\n public data class EmbeddedEthereumWalletAccount(/* Account specific data */) : LinkedAccount\n\n public data class EmbeddedSolanaWalletAccount(/* Account specific data */) : LinkedAccount\n\n // Other linked account types\n}\n```\n\n`EmbeddedEthereumWalletAccount`, `EmbeddedSolanaWalletAccount`, and `EmbeddedWallet` include `userCanSign`, which is `false` when the user is only the wallet’s [entity](/kyc-kyb/entities#check-whether-the-user-can-sign) and can’t sign with it.\n","icon":"android","id":"android","active":false},{"title":"Swift","content":"Once a user has authenticated with Privy, you will have access to the `PrivyUser` object. This will be the main entry point for all user actions.\n\n```swift theme={\"system\"}\npublic protocol PrivyUser {\n /// The user's Privy ID\n var id: String { get }\n\n /// The user's ID token\n var identityToken: String? { get }\n\n /// The point in time at which the logged in user was created.\n /// Value will only be nil if there is no user currently logged in.\n var createdAt: Date? { get }\n\n // A list of all linked accounts - can be authentication methods or embedded wallets\n var linkedAccounts: [LinkedAccount] { get }\n\n // A list of user's ethereum wallets\n var embeddedEthereumWallets: [EmbeddedEthereumWallet] { get }\n\n // A list of the user's solana wallets\n var embeddedSolanaWallets: [EmbeddedSolanaWallet] { get }\n\n // Refresh the user\n func refresh() async throws\n\n // Returns the user's access token, but will first refresh the user session if needed.\n func getAccessToken() async throws -> String\n\n // Other user methods\n}\n\npublic enum LinkedAccount {\n case phone(PhoneNumberAccount)\n case email(EmailAccount)\n case customAuth(CustomAuth)\n case embeddedEthereumWallet(EmbeddedEthereumWalletAccount)\n case embeddedSolanaWallet(EmbeddedSolanaWalletAccount)\n\n// Other linked account types\n}\n```\n\n`EmbeddedEthereumWalletAccount`, `EmbeddedSolanaWalletAccount`, and `EmbeddedWallet` include `userCanSign`, which is `false` when the user is only the wallet’s [entity](/kyc-kyb/entities#check-whether-the-user-can-sign) and can’t sign with it.\n","icon":"swift","id":"swift","active":false},{"title":"Unity","content":"Once your user has successfully authenticated, you can get an `IPrivyUser` object containing their account data via:\n\n```csharp theme={\"system\"}\n// User will be null if no user is authenticated\nIPrivyUser user = await PrivyManager.Instance.GetUser();\n```\n\nThe `IPrivyUser` interface is defined as follows:\n\n```csharp theme={\"system\"}\npublic interface IPrivyUser\n{\n // The user's ID\n string Id { get; }\n\n // List of the User's linked accounts\n PrivyLinkedAccount[] LinkedAccounts { get; }\n\n // A list of the user's embedded ethereum wallets\n IEmbeddedEthereumWallet[] EmbeddedEthereumWallets { get; }\n\n // A list of the user's embedded solana wallets\n IEmbeddedSolanaWallet[] EmbeddedSolanaWallets { get; }\n\n // Creates an embedded ethereum wallet for the user\n Task\u003cIEmbeddedEthereumWallet> CreateEthereumWallet(bool allowAdditional = false);\n\n // Creates an embedded ethereum wallet at a specific HD index\n Task\u003cIEmbeddedEthereumWallet> CreateEthereumWalletAtHdIndex(int hdWalletIndex);\n\n // Creates an embedded solana wallet for the user\n Task\u003cIEmbeddedSolanaWallet> CreateSolanaWallet(bool allowAdditional = false);\n\n // Custom user metadata, stored as a set of key-value pairs.\n // This custom metadata is set server-side.\n Dictionary\u003cstring, string> CustomMetadata { get; }\n}\n```\n\n`PrivyEmbeddedWalletAccount`, `PrivyEmbeddedSolanaWalletAccount`, `IEmbeddedEthereumWallet`, and `IEmbeddedSolanaWallet` include `UserCanSign`, which is `false` when the user is only the wallet’s [entity](/kyc-kyb/entities#check-whether-the-user-can-sign) and can’t sign with it.\n\n\u003cWarning>\n Make sure you subscribe to the [Authentication State Updates](/authentication/user-authentication/authentication-state) and avoid calling the `IPrivyUser` object without being Authenticated, as properties will return a default value otherwise.\n\n \u003cAccordion title=\"See the default values for IPrivyUser when the user is not authenticated:\" id=\"see-the-default-values-for-iprivyuser-when-the-user-is-not-authenticated\">\n * `user.Id = \"\"`\n * `user.LinkedAccounts = []`\n * `user.EmbeddedEthereumWallets = []`\n * `user.EmbeddedSolanaWallets = []`\n * `user.CustomMetadata = new Dictionary()`\n \u003c/Accordion>\n\u003c/Warning>\n\n\u003cTip>\n You can set custom metadata for a user via Privy’s backend [server SDK and/or API endpoints](/user-management/users/custom-metadata).\n\u003c/Tip>\n","icon":"unity","id":"unity","active":false}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/privy-c2af3412/9a6cfa36ced76db0/welcome.js","/_mintlify/custom/privy-c2af3412/1af79d46bd64cd8b/fullstory.js","/_mintlify/custom/privy-c2af3412/e4d91321024fde21/recipes/recipes-search.js","/_mintlify/custom/privy-c2af3412/d31c5451398ab22c/check-links.js"],"subdomain":"privy-c2af3412","siteName":"Privy Docs","title":"Handling the user object - Privy Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T18:43:57.998Z","originalFileLocation":"user-management/users/the-user-object.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Handling the user object - Privy Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Privy Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.privy.io/user-management/users/the-user-object\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://assets.privy.io/docs-og.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://assets.privy.io/docs-og.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#010110\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.privy.io/user-management/users/the-user-object\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/user-management/users/the-user-object.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.privy.io/#organization\",\"name\":\"Privy\",\"url\":\"https://www.privy.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.privy.io/docs-og.png\"},\"sameAs\":[\"https://x.com/privy_io\",\"https://github.com/privy-io\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.privy.io#website\",\"name\":\"Privy Docs\",\"url\":\"https://docs.privy.io\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.privy.io/user-management/users/the-user-object#webpage\",\"url\":\"https://docs.privy.io/user-management/users/the-user-object\",\"name\":\"Handling the user object\",\"dateModified\":\"2026-10-30T18:43:57.998Z\",\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.privy.io/user-management/users/the-user-object#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.privy.io/user-management/users/the-user-object#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Privy Docs\",\"item\":\"https://docs.privy.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Handling the user object\",\"item\":\"https://docs.privy.io/user-management/users/the-user-object\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.privy.io/user-management/users/the-user-object#article\",\"headline\":\"Handling the user object\",\"name\":\"Handling the user object\",\"url\":\"https://docs.privy.io/user-management/users/the-user-object\",\"mainEntityOfPage\":{\"@id\":\"https://docs.privy.io/user-management/users/the-user-object#webpage\"},\"image\":\"https://assets.privy.io/docs-og.png\",\"dateModified\":\"2026-10-30T18:43:57.998Z\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"}}]}\u003c/script>","siteName":"Privy Docs","nav":{"global":null,"tabs":[{"tab":"Basics","pages":[{"title":"Basics","href":"/basics/get-started/about"}]},{"tab":"Wallets","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/wallets/overview"}]},{"item":"Embedded wallets","pages":[{"title":"Embedded wallets","href":"/wallets/overview/embedded"}]},{"item":"Organization wallets","pages":[{"title":"Organization wallets","href":"/organizations/overview"}]},{"item":"External wallets","pages":[{"title":"External wallets","href":"/wallets/connectors/overview"}]},{"item":"Signatures and transactions","pages":[{"title":"Signatures and transactions","href":"/wallets/signatures-and-transactions"}]},{"item":"Balances and webhooks","pages":[{"title":"Balances and webhooks","href":"/wallets/gas-and-asset-management/assets/overview"}]},{"item":"Gas and fee management","pages":[{"title":"Gas and fee management","href":"/wallets/gas-and-asset-management/gas/overview"}]}],"pages":[{"title":"Wallets","href":"/wallets/overview"}]},{"tab":"Financial flows","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/financial-flows/overview"}]},{"item":"Deposits","pages":[{"title":"Deposits","href":"/financial-flows/deposits/overview"}]},{"item":"Payouts","pages":[{"title":"Payouts","href":"/financial-flows/payouts/overview"}]},{"item":"Earn","pages":[{"title":"Earn","href":"/wallets/actions/earn/overview"}]},{"item":"Cards","pages":[{"title":"Cards","href":"/financial-flows/cards/overview"}]},{"item":"Trade","pages":[{"title":"Trade","href":"/wallets/actions/swap/overview"}]},{"item":"Monetization","pages":[{"title":"Monetization","href":"/financial-flows/monetization"}]},{"item":"Treasury management","pages":[{"title":"Treasury management","href":"/treasury-management/overview"}]},{"item":"Private transactions","pages":[{"title":"Private transactions","href":"/financial-flows/private-transactions"}]}],"pages":[{"title":"Financial flows","href":"/financial-flows/overview"}]},{"tab":"Controls and policies","menu":[{"item":"Controls","pages":[{"title":"Controls","href":"/controls/overview"}]},{"item":"Policies","pages":[{"title":"Policies","href":"/controls/policies/overview"}]},{"item":"Manual approvals","pages":[{"title":"Manual approvals","href":"/controls/dashboard/overview"}]}],"pages":[{"title":"Controls and policies","href":"/controls/overview"}]},{"tab":"Identity","menu":[{"item":"Authentication","pages":[{"title":"Authentication","href":"/authentication/overview"}]},{"item":"Users","groups":[{"group":"Users","pages":[{"title":"Users","sidebarTitle":"Overview","description":"Overview of user management in Privy, including creating, querying, and managing users and linked accounts.","href":"/user-management/users/overview"}]},{"group":"User management","pages":[{"title":"Handling the user object","sidebarTitle":"The user object","href":"/user-management/users/the-user-object"},{"title":"Identity tokens","description":"Access user data securely with Privy identity tokens","href":"/user-management/users/identity-tokens"},{"group":"Account linking and metadata","pages":[{"title":"Linking accounts to users","href":"/user-management/users/linking-accounts"},{"title":"Unlinking accounts from users","href":"/user-management/users/unlinking-accounts"},{"title":"Updating user accounts","href":"/user-management/users/updating-accounts"},{"title":null,"href":"/user-management/users/custom-metadata"}]},{"group":"UIs and whitelabel","pages":[{"title":"UI components","href":"/user-management/users/ui-components"},{"title":"Whitelabel","href":"/user-management/users/whitelabel"}]}]},{"group":"Managing users","pages":[{"title":null,"href":"/user-management/users/managing-users/querying-users"},{"title":"Deleting users","href":"/user-management/users/managing-users/deleting-users"},{"title":"Freezing users","href":"/user-management/users/managing-users/freezing-users"},{"title":"Supporting your users","href":"/user-management/users/managing-users/supporting-your-users"},{"group":"Access control","pages":[{"title":"Allowlist","href":"/user-management/users/managing-users/allowlist"},{"title":"Denylist","href":"/user-management/users/managing-users/denylist"}]}]},{"group":"Migrating users to Privy","pages":[{"title":"Migrating existing users to Privy","href":"/user-management/migrating-users-to-privy/overview"},{"title":"Create or import a user","href":"/user-management/migrating-users-to-privy/create-or-import-a-user"},{"title":"Create or import a batch of users","href":"/user-management/migrating-users-to-privy/create-or-import-a-batch-of-users"}]},{"group":"Webhooks","pages":[{"title":"Handling events","href":"/user-management/users/webhooks/handling-events"}]}]},{"item":"KYC and KYB","pages":[{"title":"KYC and KYB","href":"/kyc-kyb/overview"}]}]},{"tab":"Security","pages":[{"title":"Security","href":"/security/overview"}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/overview"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Handling the user object - Privy Docs","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}