Initialize SDK on Client
This guide is a short tutorial on how to initialize the Virgil SDKThe SDK helps take tedious complexity out of coding by providing APIs for all of Virgil Services. on the client side.
There are two options to initialize the Virgil SDK:
- With a tokenA string that is needed to modify and read the app's settings more ...
- And without a token
To initialize the SDK you will need to create a Developer accountDevelopers will need to register their application at Virgil Services to use Virgil Security infrastructure create account and register your first application.
In order to initialize the Virgil SDK with a token use the following code below:
var api = virgil.API("[YOUR_ACCESS_TOKEN_HERE]");
In order to initialize the Virgil SDK without a token use the following code below: