Skip to content

Commit d0f2465

Browse files
committed
Consolidating Apoorva\'s minor pending changes to one PR
1 parent 4e1f42e commit d0f2465

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

openid-sharedsignals-framework-1_0.md

Lines changed: 12 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 streams at the time of
792+
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 SHALL 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
@@ -872,7 +874,7 @@ the Event Transmitter responds with a "201 Created" response containing a
872874
The HTTP POST request MAY contain the Receiver-Supplied values of the Stream
873875
Configuration ({{stream-config}}) object:
874876

875-
* `events_requested`
877+
* `events_requested` : This MUST NOT be empty
876878
* `delivery` : Note that in the case of the POLL method, the `endpoint_url` value is
877879
supplied by the Transmitter.
878880

@@ -1152,7 +1154,8 @@ configuration in the body.
11521154
The stream_id property MUST be present in the request. Other properties
11531155
MAY be present in the request. Any Receiver-Supplied property present in the
11541156
request MUST be updated by the Transmitter. Any properties missing in the
1155-
request MUST NOT be changed by the Transmitter.
1157+
request MUST NOT be changed by the Transmitter. If the `events_requested` parameter
1158+
is present in the request, its value MUST NOT be an empty array.
11561159

11571160
Transmitter-Supplied properties beside the stream_id MAY be present,
11581161
but they MUST match the expected value. Missing Transmitter-Supplied

0 commit comments

Comments
 (0)