@types/passport-oauth2
Advanced tools
Comparing version 1.4.12 to 1.4.13
@@ -12,6 +12,6 @@ // Type definitions for passport-oauth2 1.4 | ||
import { Request } from 'express'; | ||
import { Strategy } from 'passport'; | ||
import { OAuth2 } from 'oauth'; | ||
import { OutgoingHttpHeaders } from 'http'; | ||
import { Request } from "express"; | ||
import { OutgoingHttpHeaders } from "http"; | ||
import { OAuth2 } from "oauth"; | ||
import { Strategy } from "passport"; | ||
@@ -62,24 +62,24 @@ declare class OAuth2Strategy extends Strategy { | ||
| (( | ||
accessToken: string, | ||
refreshToken: string, | ||
results: TResults, | ||
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, | ||
profile: TProfile, | ||
verified: VerifyCallback, | ||
) => void) | ||
| (( | ||
req: Request, | ||
accessToken: string, | ||
refreshToken: string, | ||
results: TResults, | ||
profile: TProfile, | ||
verified: VerifyCallback, | ||
) => void); | ||
req: Request, | ||
accessToken: string, | ||
refreshToken: string, | ||
results: TResults, | ||
profile: TProfile, | ||
verified: VerifyCallback, | ||
) => void); | ||
@@ -86,0 +86,0 @@ interface _StrategyOptionsBase { |
{ | ||
"name": "@types/passport-oauth2", | ||
"version": "1.4.12", | ||
"version": "1.4.13", | ||
"description": "TypeScript definitions for passport-oauth2", | ||
@@ -52,4 +52,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-oauth2", | ||
}, | ||
"typesPublisherContentHash": "017e3e2f67b0ec83fc98da7a31aaf683daad40112ca0ca14aba2c5175367ee48", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "3607546ba268139bba77003893f99ffbf3aec06c05abb7814932a9bb4204426d", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 09 Feb 2023 11:32:38 GMT | ||
* Last updated: Sun, 24 Sep 2023 06:37:28 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) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
8377