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
+16-4Lines changed: 16 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -249,9 +249,10 @@ The following content applies to the JWT Header:
249
249
The following content applies to the JWT Claims Set:
250
250
251
251
* `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.
252
-
* `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.
252
+
* `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.
253
253
* `iat`: REQUIRED. The `iat` (issued at) claim MUST specify the time at which the Status List Token was issued.
254
-
* `exp`: OPTIONAL. The `exp` (expiration time) claim MAY convey the time at which it is considered expired by its Issuer.
254
+
* `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.
255
+
* `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.
255
256
* `status_list`: REQUIRED. The `status_list` (status list) claim MUST specify the Status List conforming to the rules outlined in [](#status-list-json).
256
257
257
258
The following additional rules apply:
@@ -514,7 +515,11 @@ Resulting in the byte array and compressed/base64url encoded status list:
514
515
TODO elaborate on risks of incorrect parsing/decoding leading to erroneous status data
515
516
516
517
## Cached and Stale status lists
517
-
TODO consumers/Relying Party of the status list should be aware if they fetch the up-to-date data
518
+
519
+
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
520
+
in the Status List Token provides one mechanism for setting a maximum cache time for the fetched data. This property permits distribution of
521
+
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
522
+
a fresh copy of the status list even if that status list is not expired.
518
523
519
524
## Authorized access to the Status List {#security-authorization}
520
525
TODO elaborate on authorization mechanisms preventing misuse and profiling as described in privacy section
@@ -581,7 +586,13 @@ IANA "JSON Web Token Claims" registry {{IANA.JWT}} established by {{RFC7519}}.
581
586
* Change Controller: IETF
582
587
* Specification Document(s): [](#status-list-token-jwt) of this specification
583
588
584
-
## JWT Status Mechanism Methods Registry {#jwt-iana-registry}
589
+
* Claim Name: `ttl`
590
+
* Claim Description: Time to Live
591
+
* Change Controller: IETF
592
+
* Specification Document(s): [](#status-list-token-jwt) of this specification
593
+
594
+
## JWT Status Mechanism Methods Registry {#iana-registry}
595
+
585
596
586
597
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.
587
598
@@ -776,6 +787,7 @@ for their valuable contributions, discussions and feedback to this specification
776
787
777
788
-02
778
789
790
+
* add ttl claim to Status List Token to convey caching
779
791
* relax requirements on referenced token
780
792
* clarify Deflate / zlib compression
781
793
* make a reference to the Issuer-Holder-Verifier model of SD-JWT VC
0 commit comments