|
|
 |
 |
| EncodeDigestAuthorizationHeader |
| |
Constructs a digest authorization header (qop=auth, algorithm=md5) |
| |
| Library |
 |
wh::internet/http.whlib |
| |
| Syntax |
 |
PUBLIC STRING FUNCTION EncodeDigestAuthorizationHeader (STRING nonce,STRING cnonce,INTEGER request_id,STRING username,STRING realm,STRING password,STRING method,STRING uri) |
| |
| Parameters |
 |
| nonce |
 |
Nonce, as sent by server in WWW-Authenticate header |
 |
| cnonce |
 |
Client supplied unique value (generate it yourself, make it like 8/16 characters) |
 |
| request_id |
 |
Unique id for this request; id's may be used only once in a given session |
 |
| username |
 |
Username |
 |
| realm |
 |
Realm |
 |
| password |
 |
Password |
 |
| method |
 |
HTTP method (GET, POST, etc) |
 |
| uri |
 |
Requested URI |
 |
|
| |
|
|
|
|