constructor(factorId, onResetPasswordClick, phoneNumber, onContinueClick,
              domHelper) {
    super(
        firebaseui.auth.soy2.page.revertSecondFactorAdditionSuccess,
        {
          factorId: factorId,
          phoneNumber: phoneNumber || null,
          allowContinue: !!onContinueClick
        },
        domHelper,
        'revertSecondFactorAdditionSuccess');
    this.onResetPasswordClick_ = onResetPasswordClick;
    this.onContinueClick_ = onContinueClick || null;
  }
@param {string} factorId The factor ID of the second factor.
@param {function()} onResetPasswordClick Callback to invoke when the reset
    password link is clicked.
@param {?string=} phoneNumber The second factor phone number.
@param {function(): undefined=} onContinueClick Callback to invoke when the
    continue button is clicked.
@param {?goog.dom.DomHelper=} domHelper Optional DOM helper.