kauthsdkjs

1.0.0 • Public • Published

Kabeers Authorization SDK for JavaScript

- Outdated! and Unmaintained Get K AuthSDK JS 2.0 for newer version

Include This SDK to send Requests to Kabeers Network Account API.

let sdk_id = '';
let method = 'login';
let kauth = new KAuth(method, sdk_id);

kauth.go();
//To Imediatly Redirect


kauth.render(/*Container Element*/ document.querySelector('div'), /*Height*/ '3rem', /*Width*/ 'auto', 'dark');
//To Render Button

For UMD Modules

import {KAuth} from 'path/to/kauthsdk.js';

Register Your Javascript SDK to get SDK id HERE

Package Sidebar

Install

npm i kauthsdkjs

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

12.2 kB

Total Files

7

Last publish

Collaborators

  • kabeersjaffri