From 6012fc8b4d88aab8638b94b520c1aacb6b07e4fe Mon Sep 17 00:00:00 2001 From: elf Pavlik Date: Thu, 6 Jul 2023 06:40:05 -0600 Subject: [PATCH 1/2] explicit channel auth scheme closes #155 --- protocol.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/protocol.html b/protocol.html index 46ac9a1..b61ed3a 100644 --- a/protocol.html +++ b/protocol.html @@ -755,6 +755,12 @@

Description "subscription": [{ "id": "https://websocket.example/subscription", "channelType": "WebSocketChannel2023", + "channelAuthScheme": ["CapabilityURL"], + "feature": ["endAt", "rate", "state"] + }, { + "id": "https://webhook.example/subscription", + "channelType": "WebhookChannel2023", + "channelAuthScheme": ["CapabilityURL", "SolidOIDC"] "feature": ["endAt", "rate", "state"] }], "channel": [{ @@ -762,6 +768,7 @@

Description "type": "WebSocketChannel2023", "topic": "https://example.org/guinan/profile", "receiveFrom": "wss://websocket.example/guinan/profile", + "authScheme": "None", "rate": "PT1M" }] } @@ -779,6 +786,7 @@

Subscriptio @@ -791,6 +799,7 @@

Subscriptio ], "id": "https://websocket.example/subscription", "channelType": "WebSocketChannel2023", + "channelAuthScheme": ["CapabilityURL"], "feature": ["endAt", "rate", "state"] } @@ -807,6 +816,7 @@

Notificatio @@ -840,6 +850,7 @@

Notificatio "type": "WebSocketChannel2023", "topic": "https://example.org/guinan/profile", "receiveFrom": "wss://websocket.example/d4cf3f19", + "authScheme": "CapabilityURL", "startAt": "2023-01-01T07:00:00.000Z", "endAt": "2023-01-01T09:00:00.000Z", "rate": "PT5M", From 2f924b7207cce9d645afcffd6760b9b063fd6ebf Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Fri, 14 Jul 2023 17:24:12 +0300 Subject: [PATCH 2/2] Update protocol.html --- protocol.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol.html b/protocol.html index b61ed3a..7d08d4b 100644 --- a/protocol.html +++ b/protocol.html @@ -816,7 +816,7 @@

Notificatio
  • One id property to identify the notification channel.
  • One type property to state the notification channel type.
  • -
  • One authScheme property to state the authentication scheme used for the channel.
  • +
  • One authScheme property to state the authentication scheme used for the channel.
  • At least one topic property to identify the resource that the notifications are about.
  • Zero, one, or many properties stating a particular feature.