@zeroid/trimble.bearertokenhttpclientprovider

0.1.1 • Public • Published

Trimble.BearerTokenHttpClientProvider

Installation

npm install @zeroid/trimble.bearertokenhttpclientprovider

Usage

var BearerTokenHttpClientProvider = require('@zeroid/trimble.bearertokenhttpclientprovider');
var httpClientProvider = new BearerTokenHttpClientProvider(tokenProvider, 'https://endpoint.base.url');
httpClientProvider.retrieveClient()
    .then((httpClient) => {})
    .catch(() => {});

Package Sidebar

Install

npm i @zeroid/trimble.bearertokenhttpclientprovider

Weekly Downloads

1

Version

0.1.1

License

UNLICENSED

Unpacked Size

2.37 kB

Total Files

3

Last publish

Collaborators

  • zeroid