@types/passport
Advanced tools
Comparing version 0.4.7 to 1.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for Passport 0.4 | ||
// Type definitions for Passport 1.0 | ||
// Project: http://passportjs.org | ||
@@ -8,2 +8,3 @@ // Definitions by: Horiuchi_H <https://github.com/horiuchi> | ||
// Daniel Perez Alvarez <https://github.com/danielpa9708> | ||
// Kevin Stiehl <https://github.com/kstiehl> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -56,3 +57,3 @@ // TypeScript Version: 2.3 | ||
interface Authenticator<InitializeRet = express.Handler, AuthenticateRet = any, AuthorizeRet = AuthenticateRet> { | ||
interface Authenticator<InitializeRet = express.Handler, AuthenticateRet = any, AuthorizeRet = AuthenticateRet, AuthorizeOptions = AuthenticateOptions> { | ||
use(strategy: Strategy): this; | ||
@@ -68,3 +69,3 @@ use(name: string, strategy: Strategy): this; | ||
authorize(strategy: string | string[], callback?: (...args: any[]) => any): AuthorizeRet; | ||
authorize(strategy: string | string[], options: any, callback?: (...args: any[]) => any): AuthorizeRet; | ||
authorize(strategy: string | string[], options: AuthorizeOptions, callback?: (...args: any[]) => any): AuthorizeRet; | ||
serializeUser<TUser, TID>(fn: (user: TUser, done: (err: any, id?: TID) => void) => void): void; | ||
@@ -71,0 +72,0 @@ deserializeUser<TUser, TID>(fn: (id: TID, done: (err: any, user?: TUser) => void) => void): void; |
{ | ||
"name": "@types/passport", | ||
"version": "0.4.7", | ||
"version": "1.0.0", | ||
"description": "TypeScript definitions for Passport", | ||
@@ -31,6 +31,11 @@ "license": "MIT", | ||
"githubUsername": "danielpa9708" | ||
}, | ||
{ | ||
"name": "Kevin Stiehl", | ||
"url": "https://github.com/kstiehl", | ||
"githubUsername": "kstiehl" | ||
} | ||
], | ||
"main": "", | ||
"types": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -44,4 +49,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "6020451ee26035a193dab43463d89dee79ad28d72617cfeb9ad5798455ab6516", | ||
"typesPublisherContentHash": "81806c10c5c630e4802624c04683ca29c35020605433242be5bf7a3c681475ba", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 01 Nov 2018 21:34:13 GMT | ||
* Dependencies: express | ||
* Last updated: Tue, 25 Dec 2018 05:42:14 GMT | ||
* Dependencies: @types/express | ||
* 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>. | ||
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>. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
9935
144
1