karmadata-developers-site
Utilities for supporting developers.karmadata.com. Currently this package is only used to generate CDN package via unpkg.
dev-token.js - obtains developer token
This CDN script injects functions that obtain developer token.
getDevToken(callback)
it makes an AJAX request to Thorz.com to obtain an access token suitable for demo use.
-
callback(token)
- this function is called when token is successfully obtained. The token is passed in as a parameter