@types/passport-oauth2
Advanced tools
Comparing version 1.4.11 to 1.4.12
@@ -8,2 +8,3 @@ // Type definitions for passport-oauth2 1.4 | ||
// Daphne Smit <https://github.com/daphnesmit> | ||
// Joel Klint <https://github.com/JoelKlint> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -58,8 +59,27 @@ // TypeScript Version: 2.3 | ||
type VerifyFunction = | ||
((accessToken: string, refreshToken: string, profile: any, verified: VerifyCallback) => void) | | ||
((accessToken: string, refreshToken: string, results: any, profile: any, verified: VerifyCallback) => void); | ||
type VerifyFunctionWithRequest = | ||
((req: Request, accessToken: string, refreshToken: string, profile: any, verified: VerifyCallback) => void) | | ||
((req: Request, accessToken: string, refreshToken: string, results: any, profile: any, verified: VerifyCallback) => void); | ||
type VerifyFunction<TProfile = any, TResults = any> = | ||
| ((accessToken: string, refreshToken: string, profile: TProfile, verified: VerifyCallback) => void) | ||
| (( | ||
accessToken: string, | ||
refreshToken: string, | ||
results: TResults, | ||
profile: TProfile, | ||
verified: VerifyCallback, | ||
) => void); | ||
type VerifyFunctionWithRequest<TProfile = any, TResults = any> = | ||
| (( | ||
req: Request, | ||
accessToken: string, | ||
refreshToken: string, | ||
profile: TProfile, | ||
verified: VerifyCallback, | ||
) => void) | ||
| (( | ||
req: Request, | ||
accessToken: string, | ||
refreshToken: string, | ||
results: TResults, | ||
profile: TProfile, | ||
verified: VerifyCallback, | ||
) => void); | ||
@@ -66,0 +86,0 @@ interface _StrategyOptionsBase { |
{ | ||
"name": "@types/passport-oauth2", | ||
"version": "1.4.11", | ||
"version": "1.4.12", | ||
"description": "TypeScript definitions for passport-oauth2", | ||
@@ -32,2 +32,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-oauth2", | ||
"githubUsername": "daphnesmit" | ||
}, | ||
{ | ||
"name": "Joel Klint", | ||
"url": "https://github.com/JoelKlint", | ||
"githubUsername": "JoelKlint" | ||
} | ||
@@ -48,4 +53,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "8292deb6e550442b9ab287dfb78c71ba9066b722f865f2794103c4d6ec047837", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "017e3e2f67b0ec83fc98da7a31aaf683daad40112ca0ca14aba2c5175367ee48", | ||
"typeScriptVersion": "4.2" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 07 Jul 2021 17:02:27 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/passport](https://npmjs.com/package/@types/passport), [@types/oauth](https://npmjs.com/package/@types/oauth) | ||
* Last updated: Thu, 09 Feb 2023 11:32:38 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/oauth](https://npmjs.com/package/@types/oauth), [@types/passport](https://npmjs.com/package/@types/passport) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by [Pasi Eronen](https://github.com/pasieronen), [Wang Zishi](https://github.com/WangZishi), [Eduardo AC](https://github.com/EduardoAC), [Ivan Fernandes](https://github.com/ivan94), and [Daphne Smit](https://github.com/daphnesmit). | ||
These definitions were written by [Pasi Eronen](https://github.com/pasieronen), [Wang Zishi](https://github.com/WangZishi), [Eduardo AC](https://github.com/EduardoAC), [Ivan Fernandes](https://github.com/ivan94), [Daphne Smit](https://github.com/daphnesmit), and [Joel Klint](https://github.com/JoelKlint). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8415
112