summaryrefslogtreecommitdiff
path: root/docs/server-token.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/server-token.txt')
-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.