Overview
useCreateIdentityProviderIntent hook is used to create an identity provider intent. It leverages the react-query library to manage the asynchronous operation and provides error handling and success callbacks.Parameters
callback function that is called when the creation process is successful.
It receives the CreateIdentityProviderIntentResponse object as an argument.
CreateIdentityProviderIntentResponse type
callback function that is called when an error occurs during the creation process.
HttpErrorCallback type
Returns
function that triggers the creation process with the provided payload.
CreateIdentityProviderIntentRequest type
boolean indicating whether the creation process is currently in progress.
boolean indicating whether an error occurred during the creation process.
error object if an error occurred during the creation process.