summaryrefslogtreecommitdiff
path: root/core/api-common.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-27 10:35:19 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-27 10:35:19 +0200
commite15e209e76e7970c73b4e359dba2196ffc9b9c6d (patch)
tree25d6173930aa317096faa6707130b24eb64ab0ec /core/api-common.rst
parent258de337784e561526e7cb307591ad21e34a416c (diff)
downloaddocs-e15e209e76e7970c73b4e359dba2196ffc9b9c6d.tar.gz
docs-e15e209e76e7970c73b4e359dba2196ffc9b9c6d.tar.bz2
docs-e15e209e76e7970c73b4e359dba2196ffc9b9c6d.zip
specify claim tokens
Diffstat (limited to 'core/api-common.rst')
-rw-r--r--core/api-common.rst13
1 files changed, 10 insertions, 3 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 987ba66..ed799e9 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -200,10 +200,11 @@ but also decodes to "V" to make OCR easy. We will still simply use the JSON
type "base32" and the term "Crockford Base32" in the text to refer to the
resulting encoding.
+
Hash codes
^^^^^^^^^^
-Hash codes are strings representing base32 encoding of the respective hashed
-data. See `base32`_.
+Hash codes are strings representing base32 encoding of the respective
+hashed data. See `base32`_.
.. ts:def:: HashCode
@@ -213,7 +214,8 @@ data. See `base32`_.
.. ts:def:: ShortHashCode
// 32-byte hash code
- type HashCode = string;
+ type ShortHashCode = string;
+
Safe Integers
^^^^^^^^^^^^^
@@ -278,6 +280,11 @@ Objects
Keys
^^^^
+.. ts:def:: ClaimToken
+
+ // 16-byte access token used to authorize access
+ type ClaimToken = string;
+
.. ts:def:: EddsaPublicKey
// EdDSA and ECDHE public keys always point on Curve25519