Package-level declarations
Types
The User object holds all of the information for a single user of your application and provides a set of methods to manage their account.
Properties
Functions
Retrieves the active sessions for the current user or the user with the given session ID.
Retrieves all sessions for the current user or the user with the given session ID.
Verifies a TOTP (Time-based One-Time Password) code to complete the TOTP setup process.
Generates backup codes for the current user's account.
Creates a new email address for the current user or the user with the given session ID.
Adds an external account for the user. A new ExternalAccount will be created and associated with the user. This method is useful if you want to allow an already signed-in user to connect their account with an external provider, such as Facebook, GitHub, etc., so that they can sign in with that provider in the future.
Creates a new passkey for the current user or the user with the given session ID.
Creates a new phone number for the current user or the user with the given session ID.
Creates a new TOTP (Time-based One-Time Password) configuration for the current user.
Deletes the current user, or the user with the given session ID, from the Clerk API.
Deletes the current user's password, or the user with the given session ID, using the Clerk API.
Deletes the current user's profile image, or the user with the given session ID, from the Clerk API.
Deletes the TOTP (Time-based One-Time Password) configuration for the current user.
Retrieves all email addresses associated with the current user or the user with the given session ID.
Retrieves the current user, or the user with the given session ID, from the Clerk API.
Retrieves all phone numbers associated with the current user or the user with the given session ID.
Update the current user's profile image, or the user with the given session ID, with the provided image data.
Updates the current user, or the user with the given session ID, with the provided parameters.
Updates the current user's password, or the user with the given session ID, using the Clerk API.