Method signature
Method is used for OK JS SDK initialization in mobile and external apps.
Where:
- config - app settings object containing it’s ID and public key;
- onSuccess - callback function that will be invoked on success;
- onError - callback function that will be invoked on error.