constructor(
      onEmailEnter, onCancelClick, opt_email, opt_tosCallback,
      opt_privacyPolicyCallback, opt_domHelper) {
    super(
        firebaseui.auth.soy2.page.emailLinkSignInConfirmation,
        {email: opt_email}, opt_domHelper, 'emailLinkSignInConfirmation', {
          tosCallback: opt_tosCallback,
          privacyPolicyCallback: opt_privacyPolicyCallback
        });
    this.onEmailEnter_ = onEmailEnter;
    this.onCancelClick_ = onCancelClick;
  }
@param {function()} onEmailEnter Callback to invoke when enter key (or its
    equivalent) is detected.
@param {function()} onCancelClick Callback to invoke when cancel button
    is clicked.
@param {string=} opt_email The email to prefill.
@param {?function()=} opt_tosCallback Callback to invoke when the ToS link
    is clicked.
@param {?function()=} opt_privacyPolicyCallback Callback to invoke when the
    Privacy Policy link is clicked.
@param {?goog.dom.DomHelper=} opt_domHelper Optional DOM helper.