1.0.1 • Published 3 years ago

zoominfo-api-auth-client v1.0.1

Weekly downloads
46
License
MIT
Repository
-
Last release
3 years ago

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));
1.0.1

3 years ago

1.0.0

4 years ago

0.0.1

4 years ago