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
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,9 +216,10 @@ The following content applies to the JWT Header:
216
216
The following content applies to the JWT Claims Set:
217
217
218
218
* `iss`: REQUIRED when also present in the Referenced Token. The `iss` (issuer) claim MUST specify a unique string identifier for the entity that issued the Status List Token. In the absence of an application profile specifying otherwise, compliant applications MUST compare issuer values using the Simple String Comparison method defined in Section 6.2.1 of {{RFC3986}}. The value MUST be equal to that of the `iss` claim contained within the Referenced Token.
219
-
* `sub`: REQUIRED. The `sub` (subject) claim MUST specify a unique string identifier for that Status List Token. The value MUST be equal to that of the `uri` claim contained in the `status_list` claim of the Referenced Token.
219
+
* `sub`: REQUIRED. The `sub` (subject) claim MUST specify a unique string identifier for the Status List Token. The value MUST be equal to that of the `uri` claim contained in the `status_list` claim of the Referenced Token.
220
220
* `iat`: REQUIRED. The `iat` (issued at) claim MUST specify the time at which the Status List Token was issued.
221
-
* `exp`: OPTIONAL. The `exp` (expiration time) claim MAY convey the time at which it is considered expired by its Issuer.
221
+
* `exp`: OPTIONAL. The `exp` (expiration time) claim, if present, MUST specify the time at which the Status List Token is considered expired by its issuer.
222
+
* `ttl`: OPTIONAL. The `ttl` (time to live) claim, if present, MUST specify the maximum amount of time, in seconds, that the Status List Token can be cached by a consumer before a fresh copy SHOULD be retrieved. The value of the claim MUST be a positive number.
222
223
* `status_list`: REQUIRED. The `status_list` (status list) claim MUST specify the Status List conforming to the rules outlined in [](#status-list-json).
223
224
224
225
The following additional rules apply:
@@ -397,7 +398,11 @@ Resulting in the byte array and compressed/base64url encoded status list:
397
398
TODO elaborate on risks of incorrect parsing/decoding leading to erroneous status data
398
399
399
400
## Cached and Stale status lists
400
-
TODO consumers/Relying Party of the status list should be aware if they fetch the up-to-date data
401
+
402
+
When consumers or verifiers of the Status List fetch the data, they need to be aware of its up-to-date status. The 'ttl' (time-to-live) claim
403
+
in the Status List Token provides one mechanism for setting a maximum cache time for the fetched data. This property permits distribution of
404
+
a status list to a CDN or other distribution mechanism while giving guidance to consumers of the status list on how often they need to fetch
405
+
a fresh copy of the status list even if that status list is not expired.
401
406
402
407
## Authorized access to the Status List {#security-authorization}
403
408
TODO elaborate on authorization mechanisms preventing misuse and profiling as described in privacy section
@@ -459,6 +464,11 @@ IANA "JSON Web Token Claims" registry {{IANA.JWT}} established by {{RFC7519}}.
459
464
* Change Controller: IETF
460
465
* Specification Document(s): [](#status-claim) of this specification
461
466
467
+
* Claim Name: `ttl`
468
+
* Claim Description: Time to Live
469
+
* Change Controller: IETF
470
+
* Specification Document(s): [](#status-list-token-jwt) of this specification
471
+
462
472
## JWT Status Mechanism Methods Registry {#iana-registry}
463
473
464
474
This specification establishes the IANA "Status Mechanism Methods" registry for JWT "status" member values. The registry records the status mechanism method member and a reference to the specification that defines it.
@@ -607,6 +617,7 @@ for their valuable contributions, discussions and feedback to this specification
607
617
608
618
-02
609
619
620
+
* add ttl claim to Status List Token to convey caching
610
621
* relax requirements on referenced token
611
622
* clarify Deflate / zlib compression
612
623
* make a reference to the Issuer-Holder-Verifier model of SD-JWT VC
0 commit comments