@autentikar/autentikar-sdk-js
v0.0.7
Published
```js /* const autentikar = new AutentikarSDK({ clientKey: "XXXXXX-XXXX-XXXX-XXXX-XXXXXX", apiHost: "https://api.dev.autentikar.com", });
Downloads
3
Readme
/*
const autentikar = new AutentikarSDK({
clientKey: "XXXXXX-XXXX-XXXX-XXXX-XXXXXX",
apiHost: "https://api.dev.autentikar.com",
});
// autentikar.instance.oauth.authorize();
autentikar.instance.create({
flowId: "XXXXXX-XXXX-XXXX-XXXX-XXXXXX",
user: {
country: "CL",
doc_type: "CI",
id_num: "159",
},
});
autentikar.instance.continue({
token: "qwer.qwerwqe.qwerw",
redirectUri: "https://test.url.com",
});
autentikar.instance.setToken({ code: "asdfasdfsad" });
autentikar.instance.getNextStep();
autentikar.instance.step.init({
stepId: "XXXXXX-XXXX-XXXX-XXXX-XXXXXX",
});
autentikar.instance.step.exec({ method: "START" });
autentikar.instance.step.end();
autentikar.instance.step.error();
autentikar.instance.step.cancel();
autentikar.instance.end();
})();
*/