]> dev.renevier.net Git - syp.git/blobdiff - devdoc/api.txt
multi user administration
[syp.git] / devdoc / api.txt
index cc1413e78b94de01a3009dff96e418787cc40302..e02b78dc8872a4c24762f7d2b8fdfe205339350b 100644 (file)
@@ -11,13 +11,15 @@ Client submits a classic html form to server.
 **note**: In this documentation, php notation is used (`_POST` and `_FILES`),
 but server may be written in any language.
 
+` _POST["password"]` and `_POST["user"] may contain user name and password. If
+ they are set, access is checked. If they is not set, cookies are checked. If
+ neither are present.
+
 `_POST["request"]` is either:
 
 ## auth
  asks for authentication
 
- * ` _POST["password"]` must contains user password
-
 ## add
  adds a new feature
 
@@ -72,8 +74,8 @@ as _text/html_
 
 ## success handling:
 
- * `<success request="auth"></success>`:
-     authentication was successfull
+ * `<success request="auth"><user>?user_name?</name></success>`:
+     authentication was successfull. ?user_name? is name of authenticated user.
 
  * `<success request="del">
      <feature>