Passport authentation help?

I have 3 strategies in my code local,google and github but I don’t understand Is that should I make serialize or deserialize functions for all of 3 of them?