UNPKG

287 BTypeScriptView Raw
1import * as passport from 'passport';
2export declare abstract class PassportSerializer {
3 abstract serializeUser(user: any, done: Function): any;
4 abstract deserializeUser(payload: any, done: Function): any;
5 constructor();
6 getPassportInstance(): passport.PassportStatic;
7}