@types/passport-linkedin-oauth2
Advanced tools
Comparing version 1.5.3 to 1.5.4
@@ -7,4 +7,8 @@ // Type definitions for passport-linkedin-oauth2 1.5 | ||
import { Profile as passportProfile, AuthenticateOptions as PassportAuthenticateOptions, Strategy as passportStrategy } from 'passport'; | ||
import { Request } from 'express'; | ||
import { Request } from "express"; | ||
import { | ||
AuthenticateOptions as PassportAuthenticateOptions, | ||
Profile as passportProfile, | ||
Strategy as passportStrategy, | ||
} from "passport"; | ||
@@ -43,7 +47,16 @@ export interface Profile extends passportProfile { | ||
export type VerifyFunction = | ||
(accessToken: string, refreshToken: string, profile: Profile, done: (error: any, user?: any, info?: any) => void) => void; | ||
export type VerifyFunction = ( | ||
accessToken: string, | ||
refreshToken: string, | ||
profile: Profile, | ||
done: (error: any, user?: any, info?: any) => void, | ||
) => void; | ||
export type VerifyFunctionWithRequest = | ||
(req: Request, accessToken: string, refreshToken: string, profile: Profile, done: (error: any, user?: any, info?: any) => void) => void; | ||
export type VerifyFunctionWithRequest = ( | ||
req: Request, | ||
accessToken: string, | ||
refreshToken: string, | ||
profile: Profile, | ||
done: (error: any, user?: any, info?: any) => void, | ||
) => void; | ||
@@ -50,0 +63,0 @@ export class Strategy extends passportStrategy { |
{ | ||
"name": "@types/passport-linkedin-oauth2", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"description": "TypeScript definitions for passport-linkedin-oauth2", | ||
@@ -26,4 +26,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-linkedin-oauth2", | ||
}, | ||
"typesPublisherContentHash": "b75dd6254f6956c97a898ecba611bb885d19fda892f645a7ce65cf4f0ab9bfa1", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "972b664898e4002766dd49d860847a965c2e0a215af855d2c4298ee1c167fa1d", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -17,4 +17,8 @@ # Installation | ||
import { Profile as passportProfile, AuthenticateOptions as PassportAuthenticateOptions, Strategy as passportStrategy } from 'passport'; | ||
import { Request } from 'express'; | ||
import { Request } from "express"; | ||
import { | ||
AuthenticateOptions as PassportAuthenticateOptions, | ||
Profile as passportProfile, | ||
Strategy as passportStrategy, | ||
} from "passport"; | ||
@@ -53,7 +57,16 @@ export interface Profile extends passportProfile { | ||
export type VerifyFunction = | ||
(accessToken: string, refreshToken: string, profile: Profile, done: (error: any, user?: any, info?: any) => void) => void; | ||
export type VerifyFunction = ( | ||
accessToken: string, | ||
refreshToken: string, | ||
profile: Profile, | ||
done: (error: any, user?: any, info?: any) => void, | ||
) => void; | ||
export type VerifyFunctionWithRequest = | ||
(req: Request, accessToken: string, refreshToken: string, profile: Profile, done: (error: any, user?: any, info?: any) => void) => void; | ||
export type VerifyFunctionWithRequest = ( | ||
req: Request, | ||
accessToken: string, | ||
refreshToken: string, | ||
profile: Profile, | ||
done: (error: any, user?: any, info?: any) => void, | ||
) => void; | ||
@@ -71,4 +84,4 @@ export class Strategy extends passportStrategy { | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 20:19:24 GMT | ||
* Dependencies: [@types/passport](https://npmjs.com/package/@types/passport), [@types/express](https://npmjs.com/package/@types/express) | ||
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/passport](https://npmjs.com/package/@types/passport) | ||
* Global values: none | ||
@@ -75,0 +88,0 @@ |
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
6634
57
88