Documentation Index Fetch the complete documentation index at: https://auth0.generaltranslation.app/llms.txt
Use this file to discover all available pages before exploring further.
import React , { useState } from "react" ;
import {
useResetPasswordMfaVoiceChallenge ,
useUser ,
useTenant ,
useBranding ,
useClient ,
useOrganization ,
usePrompt ,
useUntrustedData ,
} from "@auth0/auth0-acul-react/reset-password-mfa-voice-challenge" ;
Hook pour accéder à la configuration de l’image de marque et du thème. import { useBranding } from '@auth0/auth0-acul-react/login-id' ;
function CustomTheme () {
const branding = useBranding ();
}
Hook pour accéder à la configuration de l’Application Auth0 (client). import { useClient } from '@auth0/auth0-acul-react/login-id' ;
function AppInfo () {
const client = useClient ();
}
Hook pour accéder au contexte et aux paramètres de l’organisation. import { useOrganization } from '@auth0/auth0-acul-react/login-id' ;
function OrgSelector () {
const organization = useOrganization ();
if ( ! organization ) {
return < p > Aucun contexte d’organisation </ p > ;
}
}
Hook pour accéder à la configuration du prompt et aux paramètres du flux. import { usePrompt } from '@auth0/auth0-acul-react/login-id' ;
function FlowInfo () {
const prompt = usePrompt ();
}
Hook pour accéder aux informations et aux métadonnées de l’écran actuel. Objet d’écran contenant le nom de l’écran actuel, la configuration et les données propres à cet écran. import { useScreen } from '@auth0/auth0-acul-react/login-id' ;
function ScreenDebug () {
const screen = useScreen ();
}
Hook pour accéder à la configuration et aux paramètres du locataire. import { useTenant } from '@auth0/auth0-acul-react/login-id' ;
function TenantInfo () {
const tenant = useTenant ();
}
Hook pour accéder à l’état de la transaction et aux données du flux d’authentification. import { useTransaction } from '@auth0/auth0-acul-react/login-id' ;
function TransactionInfo () {
const transaction = useTransaction ();
}
Hook pour accéder aux données non fiables provenant des paramètres d’URL et des soumissions de formulaires. import { useUntrustedData } from '@auth0/auth0-acul-react/login-id' ;
function PrefilledForm () {
const untrustedData = useUntrustedData ();
}
Hook pour accéder aux informations de l’utilisateur et aux données de profil. import { useUser } from '@auth0/auth0-acul-react/login-id' ;
function UserProfile () {
const user = useUser ();
}
Propriétés Le code One-Time Password (OTP) saisi par l’utilisateur.
useResetPasswordMfaVoiceChallenge
Hooks communs et utilitaires