Skip to content

Commit c53a406

Browse files
committed
Incorporated Shayne's feedback
1 parent 9cceb64 commit c53a406

File tree

3 files changed

+23
-25
lines changed

3 files changed

+23
-25
lines changed

openid-sharedsignals-framework-1_0.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3707,7 +3707,7 @@ <h5 id="name-verification-event">
37073707
<p id="section-7.1.4.1-7.1.1">REQUIRED. The value of the <code>subject</code> field in a Verification Event MUST always
37083708
be set to have a simple value of type <code>opaque</code>. The <code>id</code> of the value MUST be
37093709
the <code>stream_id</code> of the stream being verified. If the Transmitter does not
3710-
support multiple streams, this value MUST be set to "0"<a href="#section-7.1.4.1-7.1.1" class="pilcrow"></a></p>
3710+
support multiple streams, this value MUST be set to "none"<a href="#section-7.1.4.1-7.1.1" class="pilcrow"></a></p>
37113711
</li>
37123712
</ul>
37133713
<ul class="normal ulEmpty">
@@ -3842,7 +3842,7 @@ <h5 id="name-triggering-a-verification-e">
38423842
"https://schemas.openid.net/secevent/ssf/event-type/verification":{
38433843
"subject": {
38443844
"format": "opaque",
3845-
"id": "1234"
3845+
"id": "f67e39a0a4d34d56b3aa1bc4cff0069f"
38463846
},
38473847
"state": "VGhpcyBpcyBhbiBleGFtcGxlIHN0YXRlIHZhbHVlLgo="
38483848
}
@@ -3893,11 +3893,10 @@ <h4 id="name-stream-updated-event">
38933893
<ul class="normal ulEmpty">
38943894
<li class="normal ulEmpty" id="section-7.1.5-10.1">
38953895
<p id="section-7.1.5-10.1.1">REQUIRED. Specifies the Subject Principal for whom the status has been updated.
3896-
If this claim is not included, then the status change was applied to all
3897-
subjects in the stream. If the event applies to the entire stream, the value
3898-
of the <code>subject</code> field MUST be of format <code>opaque</code>, and its <code>id</code> value MUST be
3899-
the unique ID of the stream. If the Transmitter does not support multiple
3900-
streams, then the value of the <code>id</code> field MUST be the string "0".<a href="#section-7.1.5-10.1.1" class="pilcrow"></a></p>
3896+
If the event applies to the entire stream, the value of the <code>subject</code> field
3897+
MUST be of format <code>opaque</code>, and its <code>id</code> value MUST be the unique ID of the
3898+
stream. If the Transmitter does not support multiple streams, then the value
3899+
of the <code>id</code> field MUST be the string "none".<a href="#section-7.1.5-10.1.1" class="pilcrow"></a></p>
39013900
</li>
39023901
</ul>
39033902
<ul class="normal ulEmpty">
@@ -3960,7 +3959,7 @@ <h4 id="name-stream-updated-event">
39603959
"https://schemas.openid.net/secevent/ssf/event-type/stream-updated": {
39613960
"subject": {
39623961
"format": "opaque",
3963-
"id" : "0"
3962+
"id" : "none"
39643963
},
39653964
"status": "paused",
39663965
"reason": "Internal error"

openid-sharedsignals-framework-1_0.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,7 +1723,7 @@ subject
17231723
> REQUIRED. The value of the `subject` field in a Verification Event MUST always
17241724
be set to have a simple value of type `opaque`. The `id` of the value MUST be
17251725
the `stream_id` of the stream being verified. If the Transmitter does not
1726-
support multiple streams, this value MUST be set to "0"
1726+
support multiple streams, this value MUST be set to "none"
17271727

17281728
> Note that the subject that identifies a stream itself is always implicitly
17291729
added to the stream and MAY NOT be removed from the stream.
@@ -1814,7 +1814,7 @@ Event Receiver as a result of the above request:
18141814
"https://schemas.openid.net/secevent/ssf/event-type/verification":{
18151815
"subject": {
18161816
"format": "opaque",
1817-
"id": "1234"
1817+
"id": "f67e39a0a4d34d56b3aa1bc4cff0069f"
18181818
},
18191819
"state": "VGhpcyBpcyBhbiBleGFtcGxlIHN0YXRlIHZhbHVlLgo="
18201820
}
@@ -1853,11 +1853,10 @@ reason
18531853
subject
18541854

18551855
> REQUIRED. Specifies the Subject Principal for whom the status has been updated.
1856-
If this claim is not included, then the status change was applied to all
1857-
subjects in the stream. If the event applies to the entire stream, the value
1858-
of the `subject` field MUST be of format `opaque`, and its `id` value MUST be
1859-
the unique ID of the stream. If the Transmitter does not support multiple
1860-
streams, then the value of the `id` field MUST be the string "0".
1856+
If the event applies to the entire stream, the value of the `subject` field
1857+
MUST be of format `opaque`, and its `id` value MUST be the unique ID of the
1858+
stream. If the Transmitter does not support multiple streams, then the value
1859+
of the `id` field MUST be the string "none".
18611860

18621861
> Note that the subject that identifies a stream itself is always implicitly
18631862
added to the stream and MAY NOT be removed from the stream.
@@ -1901,7 +1900,7 @@ subject
19011900
"https://schemas.openid.net/secevent/ssf/event-type/stream-updated": {
19021901
"subject": {
19031902
"format": "opaque",
1904-
"id" : "0"
1903+
"id" : "none"
19051904
},
19061905
"status": "paused",
19071906
"reason": "Internal error"

openid-sharedsignals-framework-1_0.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2280,7 +2280,7 @@ Tulshibagwale, et al. Standards Track [Page 40]
22802280
MUST always be set to have a simple value of type opaque. The id
22812281
of the value MUST be the stream_id of the stream being verified.
22822282
If the Transmitter does not support multiple streams, this value
2283-
MUST be set to "0"
2283+
MUST be set to "none"
22842284

22852285
Note that the subject that identifies a stream itself is always
22862286
implicitly added to the stream and MAY NOT be removed from the
@@ -2419,7 +2419,7 @@ Tulshibagwale, et al. Standards Track [Page 43]
24192419
"https://schemas.openid.net/secevent/ssf/event-type/verification":{
24202420
"subject": {
24212421
"format": "opaque",
2422-
"id": "1234"
2422+
"id": "f67e39a0a4d34d56b3aa1bc4cff0069f"
24232423
},
24242424
"state": "VGhpcyBpcyBhbiBleGFtcGxlIHN0YXRlIHZhbHVlLgo="
24252425
}
@@ -2469,12 +2469,11 @@ Tulshibagwale, et al. Standards Track [Page 44]
24692469
subject
24702470

24712471
REQUIRED. Specifies the Subject Principal for whom the status has
2472-
been updated. If this claim is not included, then the status
2473-
change was applied to all subjects in the stream. If the event
2474-
applies to the entire stream, the value of the subject field MUST
2475-
be of format opaque, and its id value MUST be the unique ID of the
2476-
stream. If the Transmitter does not support multiple streams,
2477-
then the value of the id field MUST be the string "0".
2472+
been updated. If the event applies to the entire stream, the
2473+
value of the subject field MUST be of format opaque, and its id
2474+
value MUST be the unique ID of the stream. If the Transmitter
2475+
does not support multiple streams, then the value of the id field
2476+
MUST be the string "none".
24782477

24792478
Note that the subject that identifies a stream itself is always
24802479
implicitly added to the stream and MAY NOT be removed from the
@@ -2517,6 +2516,7 @@ Tulshibagwale, et al. Standards Track [Page 44]
25172516

25182517

25192518

2519+
25202520
Tulshibagwale, et al. Standards Track [Page 45]
25212521

25222522
SharedSignals March 2023
@@ -2531,7 +2531,7 @@ Tulshibagwale, et al. Standards Track [Page 45]
25312531
"https://schemas.openid.net/secevent/ssf/event-type/stream-updated": {
25322532
"subject": {
25332533
"format": "opaque",
2534-
"id" : "0"
2534+
"id" : "none"
25352535
},
25362536
"status": "paused",
25372537
"reason": "Internal error"

0 commit comments

Comments
 (0)