Skip to content

Commit f710b5f

Browse files
committed
Consolidating changes from PRs
Consolidating changes from PRs 1. #109 2. #108 3. #100
1 parent a2fe379 commit f710b5f

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

openid-sharedsignals-framework-1_0.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -787,9 +787,9 @@ following properties:
787787

788788
stream_id
789789

790-
> **Transmitter-Supplied**, A string that uniquely identifies the stream. Stream
791-
IDs MUST be unique per Reciever. This value is generated by the Transmitter
792-
when the stream is created.
790+
> **Transmitter-Supplied**, A string that uniquely identifies the stream. A
791+
transmitter MUST generate a unique ID for each of its non-deleted streams
792+
at the time of stream creation.
793793

794794
iss
795795

@@ -818,13 +818,15 @@ events_requested
818818
> **Receiver-Supplied**, An array of URIs identifying the set of events that
819819
the Receiver requested. A Receiver SHOULD request only the events that it
820820
understands and it can act on. This is configurable by the Receiver. A
821-
Transmitter MUST ignore any array values that it does not understand.
821+
Transmitter MUST ignore any array values that it does not understand. This
822+
array MUST NOT be empty.
822823

823824
events_delivered
824825

825-
> **Transmitter-Supplied**, An array of URIs which is the intersection of
826-
"events_supported" and "events_requested". These events MAY be delivered over
827-
the Event Stream. A Receiver MUST rely on the values received in this field
826+
> **Transmitter-Supplied**, An array of URIs identifying the set of events that
827+
the Transmitter MUST include in the stream. This is a subset (not necessarily
828+
a proper subset) of the intersection of "events_supported" and
829+
"events_requested". A Receiver MUST rely on the values received in this field
828830
to understand which event types it can expect from the Transmitter.
829831

830832
delivery
@@ -1160,7 +1162,8 @@ configuration in the body.
11601162
The stream_id property MUST be present in the request. Other properties
11611163
MAY be present in the request. Any Receiver-Supplied property present in the
11621164
request MUST be updated by the Transmitter. Any properties missing in the
1163-
request MUST NOT be changed by the Transmitter.
1165+
request MUST NOT be changed by the Transmitter. If `events_requested` property is
1166+
included in the request, it MUST NOT be an empty array.
11641167

11651168
Transmitter-Supplied properties beside the stream_id MAY be present,
11661169
but they MUST match the expected value. Missing Transmitter-Supplied
@@ -1246,7 +1249,8 @@ The stream_id and the full set of Receiver-Supplied properties MUST be present
12461249
in the PUT body, not only the ones that are specifically intended to be changed.
12471250
Missing Receiver-Supplied properties MUST be interpreted as requested to be
12481251
deleted. Event Receivers MAY read the configuration first, modify the JSON
1249-
{{RFC7159}} representation, then make a replacement request.
1252+
{{RFC7159}} representation, then make a replacement request. If `events_requested`
1253+
property is included in the request, it MUST NOT be an empty array.
12501254

12511255
Transmitter-Supplied properties besides the stream_id MAY be present,
12521256
but they MUST match the expected value. Missing Transmitter-Supplied

0 commit comments

Comments
 (0)