@reloadly/reloadly.authentication
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

@reloadly/reloadly.authentication

The implementation is based on the Airtime API Docs.

Usage

import ReloadlyAuthentication = require("@reloadly/reloadly.authentication");
import ReloadlyCore = require("@reloadly/reloadly.core");

var api = new ReloadlyAuthentication.AuthenticationApi("<client id>", "<client secret>", ReloadlyCore.ServiceURLs.AIRTIME_SANDBOX);
var operation = api.clientCredentials();
var request = operation.getAccessToken();
var response = await request.execute();
var token = response.access_token;

You may find more information on the repository homepage: https://github.com/Reloadly/reloadly-sdk-nodejs

Readme

Keywords

none

Package Sidebar

Install

npm i @reloadly/reloadly.authentication

Weekly Downloads

513

Version

1.0.6

License

MIT

Unpacked Size

88.8 kB

Total Files

44

Last publish

Collaborators

  • epiard
  • serhat-reloadly