@autentikar/autentikar-sdk-js
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published
/*
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();
})();
*/

Readme

Keywords

Package Sidebar

Install

npm i @autentikar/autentikar-sdk-js

Weekly Downloads

0

Version

0.0.7

License

ISC

Unpacked Size

7.64 kB

Total Files

7

Last publish

Collaborators

  • acalderon.ait
  • ymarin_ait
  • csanchez_ait