new AbstractNetClient()
Methods
authenticate(username, password)
Set the username and password
Parameters:
Name | Type | Description |
---|---|---|
username | string | |
password | string |
- Since
- 4.0.3
authenticateFromEncrypedAccount(encryptedAccount)
Set the username and password from a volume encrypted authenication string
Parameters:
Name | Type | Description |
---|---|---|
encryptedAccount | string | Encrypted account (Base64 encoded string generated in the Admin-Tool) |
- Since
- 5.2.1
setTimeout(timeout)
Set the timeout in milliseconds for connection to wait for reponses
Parameters:
Name | Type | Description |
---|---|---|
timeout | number | number of milliseconds to wait for reponses, default 20000 |
- Since
- 4.2.0