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 {
useEmailVerificationResult,
useUser,
useTenant,
useBranding,
useClient,
useOrganization,
usePrompt,
useUntrustedData,
} from "@auth0/auth0-acul-react/email-verification-result";
ブランディングおよびテーマ設定にアクセスするためのフックです。import { useBranding } from '@auth0/auth0-acul-react/login-id';
function CustomTheme() {
const branding = useBranding();
}
Auth0 アプリケーション(クライアント)の構成にアクセスするためのフックです。import { useClient } from '@auth0/auth0-acul-react/login-id';
function AppInfo() {
const client = useClient();
}
組織コンテキストと設定にアクセスするためのフックです。import { useOrganization } from '@auth0/auth0-acul-react/login-id';
function OrgSelector() {
const organization = useOrganization();
if (!organization) {
return <p>組織コンテキストがありません</p>;
}
}
プロンプト設定とフロー設定にアクセスするためのフックです。import { usePrompt } from '@auth0/auth0-acul-react/login-id';
function FlowInfo() {
const prompt = usePrompt();
}
現在の画面情報とメタデータにアクセスするためのフックです。現在の画面名、設定、および画面固有のデータを含む画面オブジェクトです。import { useScreen } from '@auth0/auth0-acul-react/login-id';
function ScreenDebug() {
const screen = useScreen();
}
テナントの構成と設定にアクセスするためのフックです。import { useTenant } from '@auth0/auth0-acul-react/login-id';
function TenantInfo() {
const tenant = useTenant();
}
トランザクションの state と認証フローに関するデータにアクセスするためのフックです。import { useTransaction } from '@auth0/auth0-acul-react/login-id';
function TransactionInfo() {
const transaction = useTransaction();
}
URL パラメーターやフォーム送信からの信頼できないデータにアクセスするためのフックです。import { useUntrustedData } from '@auth0/auth0-acul-react/login-id';
function PrefilledForm() {
const untrustedData = useUntrustedData();
}
ユーザー情報とプロファイルデータにアクセスするためのフックです。import { useUser } from '@auth0/auth0-acul-react/login-id';
function UserProfile() {
const user = useUser();
}
useEmailVerificationResult