mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
Add extended AuthenticateOptions interface to passport-facebook
This is useful since passing options with authType to passport's authenticate method fails since passport itself doesn't know about it. You can use this extended instead to retype it to the one that this method supports instead.
This commit is contained in:
4
passport-facebook/index.d.ts
vendored
4
passport-facebook/index.d.ts
vendored
@@ -19,6 +19,10 @@ interface Profile extends passport.Profile {
|
||||
_json: any;
|
||||
}
|
||||
|
||||
export interface AuthenticateOptions extends passport.AuthenticateOptions {
|
||||
authType?: string;
|
||||
}
|
||||
|
||||
interface IStrategyOption {
|
||||
clientID: string;
|
||||
clientSecret: string;
|
||||
|
||||
Reference in New Issue
Block a user