Skip to content

Commit 9581227

Browse files
committed
removed special case for single-stream transmitters
1 parent c53a406 commit 9581227

File tree

3 files changed

+23
-27
lines changed

3 files changed

+23
-27
lines changed

openid-sharedsignals-framework-1_0.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3706,8 +3706,7 @@ <h5 id="name-verification-event">
37063706
<li class="normal ulEmpty" id="section-7.1.4.1-7.1">
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
3709-
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 "none"<a href="#section-7.1.4.1-7.1.1" class="pilcrow"></a></p>
3709+
the <code>stream_id</code> of the stream being verified.<a href="#section-7.1.4.1-7.1.1" class="pilcrow"></a></p>
37113710
</li>
37123711
</ul>
37133712
<ul class="normal ulEmpty">
@@ -3895,8 +3894,7 @@ <h4 id="name-stream-updated-event">
38953894
<p id="section-7.1.5-10.1.1">REQUIRED. Specifies the Subject Principal for whom the status has been updated.
38963895
If the event applies to the entire stream, the value of the <code>subject</code> field
38973896
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>
3897+
stream.<a href="#section-7.1.5-10.1.1" class="pilcrow"></a></p>
39003898
</li>
39013899
</ul>
39023900
<ul class="normal ulEmpty">
@@ -3959,7 +3957,7 @@ <h4 id="name-stream-updated-event">
39593957
"https://schemas.openid.net/secevent/ssf/event-type/stream-updated": {
39603958
"subject": {
39613959
"format": "opaque",
3962-
"id" : "none"
3960+
"id" : "f67e39a0a4d34d56b3aa1bc4cff0069f"
39633961
},
39643962
"status": "paused",
39653963
"reason": "Internal error"

openid-sharedsignals-framework-1_0.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,8 +1722,7 @@ subject
17221722

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
1725-
the `stream_id` of the stream being verified. If the Transmitter does not
1726-
support multiple streams, this value MUST be set to "none"
1725+
the `stream_id` of the stream being verified.
17271726

17281727
> Note that the subject that identifies a stream itself is always implicitly
17291728
added to the stream and MAY NOT be removed from the stream.
@@ -1855,8 +1854,7 @@ subject
18551854
> REQUIRED. Specifies the Subject Principal for whom the status has been updated.
18561855
If the event applies to the entire stream, the value of the `subject` field
18571856
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".
1857+
stream.
18601858

18611859
> Note that the subject that identifies a stream itself is always implicitly
18621860
added to the stream and MAY NOT be removed from the stream.
@@ -1900,7 +1898,7 @@ subject
19001898
"https://schemas.openid.net/secevent/ssf/event-type/stream-updated": {
19011899
"subject": {
19021900
"format": "opaque",
1903-
"id" : "none"
1901+
"id" : "f67e39a0a4d34d56b3aa1bc4cff0069f"
19041902
},
19051903
"status": "paused",
19061904
"reason": "Internal error"

openid-sharedsignals-framework-1_0.txt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,17 +2279,17 @@ Tulshibagwale, et al. Standards Track [Page 40]
22792279
REQUIRED. The value of the subject field in a Verification Event
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.
2282-
If the Transmitter does not support multiple streams, this value
2283-
MUST be set to "none"
22842282

22852283
Note that the subject that identifies a stream itself is always
22862284
implicitly added to the stream and MAY NOT be removed from the
22872285
stream.
22882286

2289-
2290-
2291-
2292-
2287+
Upon receiving a Verification Event, the Event Receiver SHALL parse
2288+
the SET and validate its claims. In particular, the Event Receiver
2289+
SHALL confirm that the value for "state" is as expected. If the
2290+
value of "state" does not match, an error response of "setData"
2291+
SHOULD be returned (see Section 2.3 of [DELIVERYPUSH] or
2292+
[DELIVERYPOLL]).
22932293

22942294

22952295

@@ -2298,13 +2298,6 @@ Tulshibagwale, et al. Standards Track [Page 41]
22982298
SharedSignals March 2023
22992299

23002300

2301-
Upon receiving a Verification Event, the Event Receiver SHALL parse
2302-
the SET and validate its claims. In particular, the Event Receiver
2303-
SHALL confirm that the value for "state" is as expected. If the
2304-
value of "state" does not match, an error response of "setData"
2305-
SHOULD be returned (see Section 2.3 of [DELIVERYPUSH] or
2306-
[DELIVERYPOLL]).
2307-
23082301
In many cases, Event Transmitters MAY disable or suspend an Event
23092302
Stream that fails to successfully verify based on the acknowledgement
23102303
or lack of acknowledgement by the Event Receiver.
@@ -2349,6 +2342,13 @@ Tulshibagwale, et al. Standards Track [Page 41]
23492342

23502343

23512344

2345+
2346+
2347+
2348+
2349+
2350+
2351+
23522352
Tulshibagwale, et al. Standards Track [Page 42]
23532353

23542354
SharedSignals March 2023
@@ -2471,9 +2471,7 @@ Tulshibagwale, et al. Standards Track [Page 44]
24712471
REQUIRED. Specifies the Subject Principal for whom the status has
24722472
been updated. If the event applies to the entire stream, the
24732473
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".
2474+
value MUST be the unique ID of the stream.
24772475

24782476
Note that the subject that identifies a stream itself is always
24792477
implicitly added to the stream and MAY NOT be removed from the
@@ -2517,6 +2515,8 @@ Tulshibagwale, et al. Standards Track [Page 44]
25172515

25182516

25192517

2518+
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" : "none"
2534+
"id" : "f67e39a0a4d34d56b3aa1bc4cff0069f"
25352535
},
25362536
"status": "paused",
25372537
"reason": "Internal error"

0 commit comments

Comments
 (0)