kauthsdkjs
v1.0.0
Published
Kabeers Auth API enables app and website makers to easily support multiple authentication options for their end users.
Downloads
1
Maintainers
Readme
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