@cfxlabsinc/b2b-services
    Preparing search index...
    TwoFactorSection: React.FC<
        {
            onDisable: () => Promise<ActionOutcome>;
            onEnable: (code: string) => Promise<ActionOutcome>;
            onShowBackupCodes: () => Promise<ActionOutcome>;
            onStartEnrolment: () => Promise<ActionOutcome>;
            status: TwoFactorStatus;
        },
    > = ...

    Two-factor authentication. Both resting states fetch nothing: while it is off a button starts enrolment, and while it is on a button fetches the backup codes. The QR code and the codes appear only after those presses — with one exception, the moment enrolment succeeds, when the codes are the only recovery path the user has and have to be put in front of them.