@types/passport
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -9,2 +9,3 @@ // Type definitions for Passport 1.0 | ||
// Kevin Stiehl <https://github.com/kstiehl> | ||
// Oleg Vaskevich <https://github.com/vaskevich> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -15,11 +16,16 @@ // TypeScript Version: 2.3 | ||
namespace Express { | ||
// tslint:disable-next-line:no-empty-interface | ||
interface AuthInfo {} | ||
// tslint:disable-next-line:no-empty-interface | ||
interface User {} | ||
interface Request { | ||
authInfo?: any; | ||
user?: any; | ||
authInfo?: AuthInfo; | ||
user?: User; | ||
// These declarations are merged into express's Request type | ||
login(user: any, done: (err: any) => void): void; | ||
login(user: any, options: any, done: (err: any) => void): void; | ||
logIn(user: any, done: (err: any) => void): void; | ||
logIn(user: any, options: any, done: (err: any) => void): void; | ||
login(user: User, done: (err: any) => void): void; | ||
login(user: User, options: any, done: (err: any) => void): void; | ||
logIn(user: User, done: (err: any) => void): void; | ||
logIn(user: User, options: any, done: (err: any) => void): void; | ||
@@ -26,0 +32,0 @@ logout(): void; |
{ | ||
"name": "@types/passport", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "TypeScript definitions for Passport", | ||
@@ -36,2 +36,7 @@ "license": "MIT", | ||
"githubUsername": "kstiehl" | ||
}, | ||
{ | ||
"name": "Oleg Vaskevich", | ||
"url": "https://github.com/vaskevich", | ||
"githubUsername": "vaskevich" | ||
} | ||
@@ -43,3 +48,4 @@ ], | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/passport" | ||
}, | ||
@@ -50,4 +56,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "81806c10c5c630e4802624c04683ca29c35020605433242be5bf7a3c681475ba", | ||
"typesPublisherContentHash": "4c71cf6412abdea9ea8792064ef7a4e486d601fee1509b3fe9df877edf713879", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 25 Dec 2018 05:42:14 GMT | ||
* Last updated: Thu, 22 Aug 2019 15:19:48 GMT | ||
* Dependencies: @types/express | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Horiuchi_H <https://github.com/horiuchi>, Eric Naeseth <https://github.com/enaeseth>, Igor Belagorudsky <https://github.com/theigor>, Tomek Łaziuk <https://github.com/tlaziuk>, Daniel Perez Alvarez <https://github.com/danielpa9708>, Kevin Stiehl <https://github.com/kstiehl>. | ||
These definitions were written by Horiuchi_H <https://github.com/horiuchi>, Eric Naeseth <https://github.com/enaeseth>, Igor Belagorudsky <https://github.com/theigor>, Tomek Łaziuk <https://github.com/tlaziuk>, Daniel Perez Alvarez <https://github.com/danielpa9708>, Kevin Stiehl <https://github.com/kstiehl>, and Oleg Vaskevich <https://github.com/vaskevich>. |
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
10419
149