Documentation Index Fetch the complete documentation index at: https://auth0-feat-ionic-capacitor-quickstart-modernization.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
import React , { useState } from "react" ;
import {
useMfaWebAuthnPlatformChallenge ,
useUser ,
useTenant ,
useBranding ,
useClient ,
useOrganization ,
usePrompt ,
useUntrustedData ,
} from "@auth0/auth0-acul-react/mfa-webauthn-platform-challenge" ;
Context Hooks
Hook to access branding and theme configuration. import { useBranding } from '@auth0/auth0-acul-react/login-id' ;
function CustomTheme () {
const branding = useBranding ();
}
Hook to access Auth0 application (client) configuration. import { useClient } from '@auth0/auth0-acul-react/login-id' ;
function AppInfo () {
const client = useClient ();
}
Hook to access organization context and settings. import { useOrganization } from '@auth0/auth0-acul-react/login-id' ;
function OrgSelector () {
const organization = useOrganization ();
if ( ! organization ) {
return < p > No organization context </ p > ;
}
}
Hook to access prompt configuration and flow settings. import { usePrompt } from '@auth0/auth0-acul-react/login-id' ;
function FlowInfo () {
const prompt = usePrompt ();
}
Hook to access current screen information and metadata. Screen object containing current screen name, configuration, and screen-specific data import { useScreen } from '@auth0/auth0-acul-react/login-id' ;
function ScreenDebug () {
const screen = useScreen ();
}
Hook to access tenant configuration and settings. import { useTenant } from '@auth0/auth0-acul-react/login-id' ;
function TenantInfo () {
const tenant = useTenant ();
}
Hook to access transaction state and authentication flow data. import { useTransaction } from '@auth0/auth0-acul-react/login-id' ;
function TransactionInfo () {
const transaction = useTransaction ();
}
Hook to access untrusted data from URL parameters and form submissions. import { useUntrustedData } from '@auth0/auth0-acul-react/login-id' ;
function PrefilledForm () {
const untrustedData = useUntrustedData ();
}
Hook to access user information and profile data. import { useUser } from '@auth0/auth0-acul-react/login-id' ;
function UserProfile () {
const user = useUser ();
}
Methods
Properties The error object from the WebAuthn API (navigator.credentials.get()) to be reported.
useMfaWebAuthnPlatformChallenge
Properties Optional. If true, attempts to remember the browser for future MFA challenges.
Corresponds to the rememberBrowser form field. This is only applicable if screen.showRememberDevice is true.
Common/Utility Hooks