From: Matteo Nastasi (mop) Date: Sun, 20 Mar 2011 16:17:09 +0000 (+0100) Subject: doc/ARCHITECTURE.txt added where explained internals of Brisk. X-Git-Tag: 3.4.4~16 X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=45d9a6a4a7547e431c1dbe8064b110c54186260d doc/ARCHITECTURE.txt added where explained internals of Brisk. --- diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt new file mode 100644 index 0000000..b350151 --- /dev/null +++ b/doc/ARCHITECTURE.txt @@ -0,0 +1,19 @@ +Sparse documentation about Brisk. + +Many things aren't documented at all, but I start with authentication workflow. + + + +AUTHENTICATION WORKFLOW + +--- CLI ------------ +index.php: + onsubmit="return j_login_manager(this);" -> + sync xhr(index_wr.php?mesg=getchallenge&cli_name=) + +--- SRV ------------ + GET index_wr.php send the string: "1|" + +--- CLI ------------ + POST index.php with passid_private field equal to calcMD5(tokens[1]+calcMD5(form.elements['passid'].value)) +