From e15e209e76e7970c73b4e359dba2196ffc9b9c6d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 27 Jul 2020 10:35:19 +0200 Subject: specify claim tokens --- core/api-common.rst | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'core/api-common.rst') 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 -- cgit v1.2.3