Typescript Smart-ID comunication layer for Node.js
Install
npm install smartid-calls
Usage
; config =smartauth = new SmartIDconfig; ;; // Initiate the authentication session;;; // Get the session; // Verify that it has been properly signed;
Additionally Proxy server credentials can be supplied, to route traffic through specific IP address, which is whitelisted on SmartID side.
//...config =smartauth = new SmartIDconfig;//...
Running tests
Running npm run test
will use automated identities to test different cases.
Smart-ID provides test accounts for automated testing.