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 {
useResetPasswordMfaWebAuthnPlatformChallenge,
useUser,
useTenant,
useBranding,
useClient,
useOrganization,
usePrompt,
useUntrustedData,
} from "@auth0/auth0-acul-react/reset-password-mfa-webauthn-platform-challenge";
ブランディングおよびテーマの構成にアクセスするための Hook です。import { useBranding } from '@auth0/auth0-acul-react/login-id';
function CustomTheme() {
const branding = useBranding();
}
Auth0 アプリケーション(クライアント)の構成にアクセスするための Hook です。import { useClient } from '@auth0/auth0-acul-react/login-id';
function AppInfo() {
const client = useClient();
}
組織コンテキストおよび設定にアクセスするための Hook です。import { useOrganization } from '@auth0/auth0-acul-react/login-id';
function OrgSelector() {
const organization = useOrganization();
if (!organization) {
return <p>組織コンテキストがありません</p>;
}
}
プロンプトの構成およびフロー設定にアクセスするための Hook です。import { usePrompt } from '@auth0/auth0-acul-react/login-id';
function FlowInfo() {
const prompt = usePrompt();
}
現在の画面情報およびメタデータにアクセスするための Hook です。現在の画面名、構成、および画面固有のデータを含む画面オブジェクトです。import { useScreen } from '@auth0/auth0-acul-react/login-id';
function ScreenDebug() {
const screen = useScreen();
}
テナントの構成および設定にアクセスするための Hook です。import { useTenant } from '@auth0/auth0-acul-react/login-id';
function TenantInfo() {
const tenant = useTenant();
}
トランザクションの状態と認証フローのデータにアクセスするための Hook です。import { useTransaction } from '@auth0/auth0-acul-react/login-id';
function TransactionInfo() {
const transaction = useTransaction();
}
URL パラメーターおよびフォーム送信データからの信頼できないデータにアクセスするための Hook です。import { useUntrustedData } from '@auth0/auth0-acul-react/login-id';
function PrefilledForm() {
const untrustedData = useUntrustedData();
}
ユーザー情報およびプロファイルデータにアクセスするための Hook です。import { useUser } from '@auth0/auth0-acul-react/login-id';
function UserProfile() {
const user = useUser();
}
プロパティ省略可能。true であり、かつ screen.showRememberDevice も true の場合、
現在のブラウザーを記憶するようユーザーが選択したことを示します。
これにより、一定期間 MFA(多要素認証)をスキップできる場合があります。rememberBrowser フォームフィールドに対応します。
プロパティ報告する WebAuthn API(navigator.credentials.get())からのエラーオブジェクトです。
name と message を含める必要があります。
useResetPasswordMfaWebAuthnPlatformChallenge