summaryrefslogtreecommitdiff
path: root/core/api-common.rst
diff options
context:
space:
mode:
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 987ba664..ed799e96 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