const LocalStrategy = require("passport-local").Strategy; passport.use(new LocalStrategy( <removed> ))
Saw this in an example. Can you guys tell from the above what LocalStrategy is? Given it was pulled out of a module, which I believe is a class itself, I think it has to be an instance of a constructor function, right?
I am still a bit hazy on this concept. I don’t think .Strategy can be another class inside the default export class in passport-local. Maybe I’m wrong on that point though.