Merge pull request #29873 from capaj/patch-2

adds prop "state" to passport AuthenticateOptions
This commit is contained in:
Daniel Rosenwasser
2018-11-01 14:31:24 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -21,7 +21,6 @@ export interface StrategyOption extends passport.AuthenticateOptions {
scope?: string[];
userAgent?: string;
state?: boolean;
authorizationURL?: string;
tokenURL?: string;
@@ -42,7 +41,7 @@ export interface _StrategyOptionsBase extends OAuth2StrategyOptionsWithoutRequir
scope?: string[];
userAgent?: string;
state?: boolean;
state?: string;
authorizationURL?: string;
tokenURL?: string;
+1
View File
@@ -45,6 +45,7 @@ declare namespace passport {
successMessage?: boolean | string;
successRedirect?: string;
successReturnToOrRedirect?: string;
state?: string;
pauseStream?: boolean;
userProperty?: string;
passReqToCallback?: boolean;