About Authentication with DataSet REST JavaScript client.
In connection.js:
1 2 3 4 5 | function setCredentials(user, password) { connectionInfo.authentication = convertStringToBase64(user + ":" + password); var testCreds = new DSAdmin(connectionInfo).GetPlatformName(); } |
connectionInfo.authentication will send user and password to DataSnap DSAuthenticationManager.OnUserAuthenticate.
Well, how to send it?