Description
This function manages Digest Authentication on an account. Windows Vista®, Windows® 7, and Windows® 8 require that you enable Digest Authentication support in order to access your Web Disk over a clear text, unencrypted connection. If the server has an SSL certificate signed by a recognized certificate authority and you are able to make an SSL connection over port 2078
, you do not need to enable this.
Warning:
We strongly recommend that you use UAPI instead of cPanel API 2. However, no equivalent UAPI function exists.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
user |
string |
Required The account name. |
A valid cPanel account username.
|
username |
password |
string |
Required The account's current password. |
A secure password |
luggage12345 |
enabledigest |
boolean |
Required Whether to enable Digest Authentication on the account. |
|
1 |
Returns
Return |
Type |
Description |
Possible values |
Example |
reason |
string |
A reason for failure. Note: This function only returns a reason value if it failed. |
A string that describes the error. |
This is an error message. |
result |
boolean |
Whether the function succeeded. |
|
1 |