Older approaches to quantization for Abelian models use the Gupta-Bleuler formalism with a "semiHilbert space" with an indefinitesesquilinear form. However, it is much more elegant to just work with the quotient space of vector field configurations by gauge transformations.