summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-05-12 10:24:42 -0400
committerKali Kaneko <kali@leap.se>2016-06-06 20:18:56 -0400
commit3f9e88b0c4d03aba4e406143813777f14635e20d (patch)
tree5cde745d834da5dd17ed8743ab607469e4ff3d12
parent4a1b8f2467a73a9c9a80acf19383786aa188042b (diff)
[docs] add note about server token format
-rw-r--r--docs/server-token.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/server-token.txt b/docs/server-token.txt
new file mode 100644
index 00000000..89e4d69f
--- /dev/null
+++ b/docs/server-token.txt
@@ -0,0 +1,8 @@
+Requests to the soledad server use a slightly different format than bonafide:
+
+<pre>
+Authentication: 'Token <[base64-encoded]uid:token>'
+</pre>
+
+where @<...>@ is a base64-encoded string that concatenates the user id and the
+token.