@zeroid/trimble.identity.fixedtokenprovider
v0.1.0
Published
An implementation of ITokenProvider with a fixed value
Downloads
3
Maintainers
Readme
Trimble.Identity.FixedTokenProvider
Installation
npm install @zeroid/trimble.identity.fixedtokenprovider
Usage
var FixedTokenProvider = require('@zeroid/trimble.identity.fixedtokenprovider');
var tokenProvider = new FixedTokenProvider('accessToken');
tokenProvider.retrieveToken()
.then((token) => {})
.catch(() => {});