From ce3154548d2e629f4ecd39fa9e0d9ff0c7ba80bb Mon Sep 17 00:00:00 2001 From: pathanin Date: Tue, 14 Feb 2017 08:35:34 +0700 Subject: [PATCH] Add Expres.Request to verify function --- passport-facebook/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passport-facebook/index.d.ts b/passport-facebook/index.d.ts index 4e84b4996b..d0843f6d3d 100644 --- a/passport-facebook/index.d.ts +++ b/passport-facebook/index.d.ts @@ -36,7 +36,7 @@ interface IStrategyOption { declare class Strategy implements passport.Strategy { constructor(options: IStrategyOption, - verify: (accessToken: string, refreshToken: string, profile: Profile, done: (error: any, user?: any, info?: any) => void) => void); + verify: (req?: express.Request, accessToken: string, refreshToken: string, profile: Profile, done: (error: any, user?: any, info?: any) => void) => void); name: string; authenticate: (req: express.Request, options?: Object) => void; }