Documentation Index
Fetch the complete documentation index at: https://iam-docs.platform.ai71services.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
useUserDetails hook is used to fetch and manage the user details. It leverages the react-query library to handle the asynchronous operation and provides error handling and success callbacks.Example Usage
user-details-component.tsx
Parameters
callback function that is called when the fetching process is successful.
It receives the UserDetails object as an argument.
UserDetails type
callback function that is called when an error occurs during the sign-up process.
HttpErrorCallback type
Returns
user details object if the fetching process is successful.
boolean indicating whether the fetching process is currently in progress.
boolean indicating whether an error occurred during the fetching process.
error object if an error occurred during the fetching process.