@srijanone/apigee-management-oauth
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

apigee-management-oauth

Apigee Management API Oauth module

Install

With npm installed, run

$ npm install @srijanone/apigee-management-oauth

Usage

const Apigee = require("@srijanone/apigee-management-oauth");
const apigee = new Apigee("username", "password");

apigee
  .getAccessToken()
  .then((data) => {
    console.log(data);
    const refreshToken = data.refreshToken;
    apigee
      .refreshAccessToken(refreshToken)
      .then((data) => console.log(data))
      .catch((error) => console.log(error));
  })
  .catch((error) => console.log(error));

See Also

License

MIT

Package Sidebar

Install

npm i @srijanone/apigee-management-oauth

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

14.2 kB

Total Files

8

Last publish

Collaborators

  • sikendermkhan
  • ravindrasingh
  • parkerchetan