Changeset 15163 in project


Ignore:
Timestamp:
07/05/09 17:01:09 (11 years ago)
Author:
sjamaan
Message:

Document how authenticate works for digest auth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/intarweb

    r15157 r15163  
    288288{{basic}} is handled specially, as if it were a regular symbol with two
    289289attributes; {{username}} and {{password}}.</td>
    290 <td>{{(basic #((username . "foo") (password . "bar")))}}</td>
     290<td>{{(#(basic ((username . "foo") (password . "bar"))) #(digest ((qop . auth) (username . "Mufasa") (nc . 1))))}}</td>
    291291</tr>
    292292<tr>
     
    413413<td>{{proxy-authenticate}}</td>
    414414<td>Proxy authentication request.  Equivalent to {{www-authenticate}}, for proxies.</td>
    415 <td>{{(digest #((username . "foo")))}}</td>
     415<td>{{(#(basic ((realm . "foo")) ) #(digest ((realm . "foo") (domain . (<#uri object> <#uri object>)) (qop . (auth auth-int)) (nonce . "012345abc"))))}}</td>
    416416</tr>
    417417<tr>
    418418<td>{{proxy-authorization}}</td>
    419419<td>The answer to a {{proxy-authentication}} request. Equivalent to {{authorization}}, for proxies.</td>
    420 <td>{{(basic #((username . "foo") (password . "bar")))}}</td>
     420<td>{{(#(basic ((username . "foo") (password . "bar"))) #(digest ((qop . auth) (username . "Mufasa") (nc . 1))))}}</td>
    421421</tr>
    422422<tr>
     
    483483<td>{{www-authenticate}}</td>
    484484<td>If unauthorized, a challenge to authenticate (symbol, with attributes)</td>
    485 <td>{{(digest #((username . "foo")))}}</td>
     485<td>{{(#(basic ((realm . "foo"))) #(digest ((realm . "foo") (domain . (<#uri object> <#uri object>)) (qop . (auth auth-int)) (nonce . "012345abc"))))}}</td>
    486486</tr>
    487487<tr>
Note: See TracChangeset for help on using the changeset viewer.