mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #29873 from capaj/patch-2
adds prop "state" to passport AuthenticateOptions
This commit is contained in:
Vendored
+1
-2
@@ -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;
|
||||
|
||||
Vendored
+1
@@ -45,6 +45,7 @@ declare namespace passport {
|
||||
successMessage?: boolean | string;
|
||||
successRedirect?: string;
|
||||
successReturnToOrRedirect?: string;
|
||||
state?: string;
|
||||
pauseStream?: boolean;
|
||||
userProperty?: string;
|
||||
passReqToCallback?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user