Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/passport-oauth2

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/passport-oauth2 - npm Package Compare versions

Comparing version 1.4.12 to 1.4.13

46

passport-oauth2/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc