Skip to content

AishApp/ng2-oauth-magento

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published