clearState() {
    // Remove all related query parameters. Keep all other parameters.
    for (const key in firebaseui.auth.ActionCodeUrlBuilder.Parameter) {
      if (firebaseui.auth.ActionCodeUrlBuilder.Parameter.hasOwnProperty(key)) {
        this.uri_.removeParameter(
            firebaseui.auth.ActionCodeUrlBuilder.Parameter[key]);
      }
    }
  }
Clears all email link sign-in related parameters.