zoominfo-api-auth-client

1.0.1 • Public • Published

Zoominfo API Auth Client

An API Authentication client to generate access token for Zoominfo API

Installation

npm i zoominfo-api-auth-client

Usage

Get access token using client id and private key

var authClient = require('zoominfo-api-auth-client');
var pkiAuthPromise = authClient.getAccessTokenViaPKI("username", "clientId", "privateKey");
pkiAuthPromise.then(token => console.log(token));

Get access token using username and password

var authClient = require('zoominfo-api-auth-client');
var basicAuthPromise = authClient.getAccessTokenViaBasicAuth("username", "password");
basicAuthPromise.then(token => console.log(token));

Readme

Keywords

none

Package Sidebar

Install

npm i zoominfo-api-auth-client

Weekly Downloads

7,233

Version

1.0.1

License

MIT

Unpacked Size

2.89 kB

Total Files

3

Last publish

Collaborators

  • lings24