The Backend User
object
The Backend User
object is similar to the User
object as it holds information about a user of your application, such as their unique identifier, name, email addresses, phone numbers, and more. However, the Backend User
object is different from the User
object in that it is used in the Backend API and is not directly accessible from the Frontend API.
Properties
- Name
-
emailAddresses
- Type
EmailAddress[]
- Description
An array of all the
EmailAddress
objects associated with the user. Includes the primary.
- Name
-
externalAccounts
- Type
ExternalAccount[]
- Description
An array of all the
ExternalAccount
objects associated with the user via OAuth. Note: This includes both verified & unverified external accounts.
- Name
-
legalAcceptedAt
- Type
null | number
- Description
The unix timestamp of when the user accepted the legal requirements.
null
if Require express consent to legal documents is not enabled.
- Name
-
phoneNumbers
- Type
PhoneNumber[]
- Description
An array of all the
PhoneNumber
objects associated with the user. Includes the primary.
- Name
-
primaryWeb3WalletId
- Type
null | string
- Description
The ID for the
Web3Wallet
that the user signed up with.
- Name
-
privateMetadata
- Type
UserPrivateMetadata
- Description
Metadata that can be read and set only from the Backend API.
- Name
-
publicMetadata
- Type
UserPublicMetadata
- Description
Metadata that can be read from the Frontend API and Backend API and can be set only from the Backend API.
- Name
-
samlAccounts
- Type
SamlAccount[]
- Description
An array of all the
SamlAccount
objects associated with the user via SAML.
- Name
-
web3Wallets
- Type
Web3Wallet[]
- Description
An array of all the
Web3Wallet
objects associated with the user. Includes the primary.
get fullName(): <code>null | string</code>
The full name of the user.
Returns
null | string
get primaryEmailAddress(): <code>null | EmailAddress</code>
The primary email address of the user.
Returns
null | EmailAddress
get primaryPhoneNumber(): <code>null | PhoneNumber</code>
The primary phone number of the user.
Returns
null | PhoneNumber
get primaryWeb3Wallet(): <code>null | Web3Wallet</code>
The primary web3 wallet of the user.
Returns
null | Web3Wallet
Feedback
Last updated on