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 {
useMfaEmailList ,
useUser ,
useTenant ,
useBranding ,
useClient ,
useOrganization ,
usePrompt ,
useUntrustedData ,
} from "@auth0/auth0-acul-react/mfa-email-list" ;
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 d’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 de l’invite et aux paramètres de 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, sa 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 tenant. 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 (untrustedData) 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 sur 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 L’index du numéro de téléphone à sélectionner.
Hooks utilitaires courants