react-bisdk-core-mb
Installation
npm install --save react-bisdk-core-mb
Importing
const BISDKCoreModule = require("react-bisdk-core-mb");
Usage
const biSDKCoreModule = new BISDKCoreModule();
Use this code for login into BI Platform
const login = biSDKCoreModule.platformLogin(<!username>, <!password>, <!organization-id>).then(
(response) => {
console.log("response: ", response);
},
(error) => {
console.log("error: ", error);
}
);
Use this code for login into BI Platform
const logout = biSDKCoreModule.platformLogOut(<!accessToken>, <!tokenId>).then(
(response) => {
console.log("response: ", response);
},
(error) => {
console.log("error: ", error);
}
);