@types/passport-oauth2-refresh
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Installation

npm install --save @types/passport-oauth2-refresh

Summary

This package contains type definitions for passport-oauth2-refresh (https://github.com/fiznool/passport-oauth2-refresh#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-oauth2-refresh.

index.d.ts

import { oauth2tokenCallback } from "oauth";
import { Strategy } from "passport-oauth2";

export function use(name: string | Strategy, strategy?: Strategy): void;

export function has(name: string): boolean;

export function requestNewAccessToken(name: string, refreshToken: string, done: oauth2tokenCallback): any;
export function requestNewAccessToken(name: string, refreshToken: string, params: any, done: oauth2tokenCallback): any;

Additional Details

Credits

These definitions were written by Daphne Smit, and Brian Torres-Gil.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/passport-oauth2-refresh

Weekly Downloads

2,983

Version

1.1.4

License

MIT

Unpacked Size

3.95 kB

Total Files

5

Last publish

Collaborators

  • types