HooksIdentity & auth
CapxulAuthenticationController
Map canonical authentication state to app-owned slots.
CapxulAuthenticationController renders no SDK markup. Supply slots for email,
OTP entry, pending work, failure, and success. Each slot receives the exact
canonical state and only the legal actions for that branch.
import { CapxulAuthenticationController } from "@capxul/sdk-react";
<CapxulAuthenticationController
slots={{
email: EmailSlot,
otp: OtpSlot,
pending: PendingSlot,
failure: FailureSlot,
success: SuccessSlot,
}}
/>;The app owns markup, copy, form state, and routing.