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 { useScreen , useTransaction , login , useErrors } from "@auth0/auth0-acul-react/login-password" ;
import { Logo } from "../../components/Logo" ;
ブランディングおよびテーマの設定にアクセスするためのフックです。 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 と認証フローのデータにアクセスするためのフックです。 フローの 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 ();
}
プロパティ プロパティ BrandingSettings export interface BrandingSettings {
colors ?: {
primary ?: string ;
pageBackground ?:
| string
| {
type : string ;
start : string ;
end : string ;
angleDegree : number ;
};
};
faviconUrl ?: string ;
logoUrl ?: string ;
fontUrl ?: string ;
}
プロパティ pageBackground?
string | { angleDegree: number; end: string; start: string; type: string; }
BrandingThemes export interface BrandingThemes {
default : {
borders : Record < string , string | boolean | number >;
colors : Record < string , string >;
displayName : string ;
fonts : Record < string , string | boolean | object >;
pageBackground : Record < string , string >;
widget : Record < string , string | number >;
};
}
プロパティ borders
Record<string, string | boolean | number>
fonts
Record<string, string | boolean | object>
widget
Record<string, string | number>
プロパティ metadata
{[key: string]: string; }
プロパティ metadata
{[key: string]: string; }
プロパティ authorizationParams
{ [key: ext-${string} ]: string; login_hint?: string; screen_hint?: string; ui_locales?: string; }
submittedFormData
{[key: string]: string | number | boolean | null | undefined; }
プロパティ appMetadata
{[key: string]: string; }
userMetadata
{[key: string]: string; }
メソッド