ng2-oauth-magento

1.0.2 • Public • Published

ng2-oauth-magento

ng2-oauth-magento is a Angular2 library that helps in establishing connection to magento with oauth.

Requirements

Installing ng2-oauth-magento

npm install --save ng2-oauth-magento

Using ng2-oauth-magento

import {CordovaOauthMagento} from 'ng2-oauth-magento/core';
 
this.oauthMagento = new CordovaOauthMagento({baseUrl: yourbaseURL, consumerKey: yourconsumerKey, consumerSecretKey: yourconsumerSecretKey});
        this.oauthMagento.connect().then((success) => {
            console.log("Success",JSON.stringify(success));
        }, (error) => {
            console.log("Error",error);
        });

This library will NOT work with a web browser, ionic serve, or ionic view. It WILL WORK by installing either in device or in simulator.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i ng2-oauth-magento

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • aishapp