API reference#
Reference for the HAAPI React SDK’s exports.
HaapiStepper
HaapiStepper is a React UI-less component designed to handle complex, multi-step authentication HAAPI workflows.
useHaapiStepper
Hook to access the HAAPI Stepper context.
useHaapiFetch
Low-level access to the attested HAAPI transport, for driving a flow without HaapiStepper.
HaapiStepperStepUI
HaapiStepperStepUI is the default UI for HAAPI authentication flows: drop it inside a HaapiStepper and it renders every step — out of the box and ready to customize.
UI components
The HAAPI React SDK provides a set of common HAAPI Stepper UI components that let you build highly customized UIs while still relying on the SDK's defaults.