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

graph-interface-desktop-provider

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graph-interface-desktop-provider

Authentication Providers for delegated access on Graph-Interface

  • 0.1.5
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

graph-interface-desktop-provider

Provides an oAuth2 Authentication for the graph-interface module.

Installation

Run

npm install graph-interface-desktop-provider --save

or, if you use Yarn

yarn add graph-interface-desktop-provider

Usage

First import the module and the graph-interface module.

const createGraphInterface = require('graph-interface');
const createDesktopMiddleware = require('graph-interface-desktop-provider');

Then use in the authorizationProvider option when creating your graph interface:

const graph = await createGraphInterface(credentials, {
    authenticationProvider: createDesktopMiddleware(options)
    // options
});

Options

{
    refreshTokenPath: '.' // The path where the refresh token will be stored
}

Keywords

FAQs

Package last updated on 31 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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