changeset 10060:957dd8eb1e5a HEAD

auth-protocol.txt: Updated with the new cookie changes.
author Timo Sirainen <tss@iki.fi>
date Wed, 14 Oct 2009 18:30:04 -0400
parents aa30fc7d771a
children 9bf8e8fce7f7
files doc/auth-protocol.txt
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/auth-protocol.txt	Wed Oct 14 18:25:29 2009 -0400
+++ b/doc/auth-protocol.txt	Wed Oct 14 18:30:04 2009 -0400
@@ -42,6 +42,7 @@
  S: "VERSION" TAB <major> TAB <minor>
  S: "SPID" TAB <pid>
  S: "CUID" TAB <pid>
+ S: "COOKIE" TAB <cookie>
  S: "MECH" TAB <name> [TAB <parameters>] (multiple times)
  S: "DONE"
 
@@ -63,6 +64,9 @@
 
 CUID is currently useful only for APOP authentication.
 
+COOKIE returns connection-specific 128 bit cookie in hex. It must be
+given to REQUEST command. (v2.0+)
+
 DONE finishes the handshake from server. CPID finishes the handshake from
 client.
 
@@ -156,7 +160,7 @@
 Master Requests
 ---------------
 
- M: "REQUEST" TAB <id> TAB <client-pid> TAB <client-id>
+ M: "REQUEST" TAB <id> TAB <client-pid> TAB <client-id> TAB <cookie>
  M: "USER" TAB <id> TAB <userid> TAB service=<service> [TAB <parameters>]
 
  S: "NOTFOUND" TAB <id>