You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft-ietf-oauth-status-list.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -340,7 +340,7 @@ byte value 0xC9 0x44 0xF9
340
340
341
341
This section defines the data structure for a JSON-encoded Status List:
342
342
343
-
* `status_list`: REQUIRED. JSON Object that contains a Status List. It MUST contain at least the following claims:
343
+
* The `StatusList` structure is a JSON Object and MUST contain at least the following claims:
344
344
* `bits`: REQUIRED. JSON Integer specifying the number of bits per Referenced Token in the compressed byte array (`lst`). The allowed values for `bits` are 1,2,4 and 8.
345
345
* `lst`: REQUIRED. JSON String that contains the status values for all the Referenced Tokens it conveys statuses for. The value MUST be the base64url-encoded compressed byte array as specified in [](#status-list-byte-array).
346
346
* `aggregation_uri`: OPTIONAL. JSON String that contains a URI to retrieve the Status List Aggregation for this type of Referenced Token or Issuer. See section [](#aggregation) for further details.
@@ -363,7 +363,7 @@ See section [](#test-vectors) for more test vectors.
363
363
364
364
This section defines the data structure for a CBOR-encoded Status List:
365
365
366
-
* The `StatusList` structure is a map (Major Type 5) and defines the following entries:
366
+
* The `StatusList` structure is a map (Major Type 5) MUST contain at least the following entries:
367
367
* `bits`: REQUIRED. Unsigned integer (Major Type 0) that contains the number of bits per Referenced Token in the compressed byte array (`lst`). The allowed values for `bits` are 1, 2, 4 and 8.
368
368
* `lst`: REQUIRED. Byte string (Major Type 2) that contains the status values for all the Referenced Tokens it conveys statuses for. The value MUST be the compressed byte array as specified in [](#status-list-byte-array).
369
369
* `aggregation_uri`: OPTIONAL. Text string (Major Type 3) that contains a URI to retrieve the Status List Aggregation for this type of Referenced Token. See section [](#aggregation) for further detail.
@@ -1897,6 +1897,7 @@ CBOR encoding:
1897
1897
1898
1898
* add Paul's affiliation
1899
1899
* add feedback from Dan Moore
1900
+
* change JSON Status List structure to only contain JSON object
0 commit comments