Socket
Socket
Sign inDemoInstall

@types/passport

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/passport - npm Package Compare versions

Comparing version 0.2.34 to 0.2.35

22

passport/index.d.ts

@@ -31,2 +31,20 @@ // Type definitions for Passport v0.2.0

namespace passport {
interface AuthenticateOptions {
authInfo?:boolean;
assignProperty?:string;
failureFlash?: string|boolean|Object;
failureMessage?: boolean|string;
failureRedirect?:string;
failWithError?:boolean;
session?: boolean;
scope?: string|string[];
successFlash?: string|boolean|Object;
successMessage?: boolean|string;
successRedirect?:string;
successReturnToOrRedirect?:string;
pauseStream?:boolean;
userProperty?:string;
}
interface Passport {

@@ -41,5 +59,5 @@ use(strategy: passport.Strategy): Passport;

authenticate(strategy: string, callback?: Function): express.Handler;
authenticate(strategy: string, options: Object, callback?: Function): express.Handler;
authenticate(strategy: string, options: AuthenticateOptions, callback?: Function): express.Handler;
authenticate(strategies: string[], callback?: Function): express.Handler;
authenticate(strategies: string[], options: Object, callback?: Function): express.Handler;
authenticate(strategies: string[], options: AuthenticateOptions, callback?: Function): express.Handler;
authorize(strategy: string, callback?: Function): express.Handler;

@@ -46,0 +64,0 @@ authorize(strategy: string, options: Object, callback?: Function): express.Handler;

7

passport/package.json
{
"name": "@types/passport",
"version": "0.2.34",
"description": "TypeScript definitions for Passport v0.2.0",
"version": "0.2.35",
"description": "TypeScript definitions for Passport",
"license": "MIT",

@@ -17,4 +17,3 @@ "author": "Horiuchi_H <https://github.com/horiuchi/>",

"peerDependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "3732cc785cc9c86b71a4b98323cb7fe0b3f86abe3e4da1f35bca8c2e60f7ba97"
"typesPublisherContentHash": "3980ebb24854e5ad7982de6429733b9741390ce68ab81c82e36a939f4deae4b4"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for Passport v0.2.0 (http://passportjs.org).
This package contains type definitions for Passport (http://passportjs.org).

@@ -12,4 +12,3 @@ # Details

Additional Details
* Last updated: Thu, 03 Nov 2016 17:41:49 GMT
* File structure: ModuleAugmentation
* Last updated: Wed, 07 Dec 2016 01:37:59 GMT
* Library Dependencies: express

@@ -16,0 +15,0 @@ * Module Dependencies: express

{
"authors": "Horiuchi_H <https://github.com/horiuchi/>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [

@@ -12,3 +11,3 @@ "express"

"libraryMinorVersion": 2,
"libraryName": "Passport v0.2.0",
"libraryName": "Passport",
"typingsPackageName": "passport",

@@ -18,3 +17,2 @@ "projectName": "http://passportjs.org",

"sourceBranch": "types-2.0",
"kind": "ModuleAugmentation",
"globals": [],

@@ -28,3 +26,3 @@ "declaredModules": [

"hasPackageJson": false,
"contentHash": "3732cc785cc9c86b71a4b98323cb7fe0b3f86abe3e4da1f35bca8c2e60f7ba97"
"contentHash": "3980ebb24854e5ad7982de6429733b9741390ce68ab81c82e36a939f4deae4b4"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc