Skip to main content
type MfaRequiredCallback = (context: MfaVerificationContext) => void;
Callback function invoked when MFA verification is required. The consumer should show their custom MFA UI when this is called. This callback does not need to be memoized - the hook handles stability internally.

Parameters

ParameterTypeDescription
contextMfaVerificationContextThe MFA verification context containing available methods.

Returns

void