--- a/mod_pubsub_post/README.markdown Fri Mar 29 17:06:18 2019 +0100
+++ b/mod_pubsub_post/README.markdown Fri Aug 24 14:52:09 2018 +0200
@@ -43,6 +43,24 @@
to attempt to publish to a non-existant node becomes owner of it, which
includes publishing rights.
+## WebSub
+
+``` {.lua}
+-- Per node secrets
+pubsub_post_secrets = {
+ my_node = "shared secret"
+}
+
+-- Same secret for all nodes
+pubsub_post_secret = "shared secret"
+```
+
+This enables the
+[WebSub](https://www.w3.org/TR/2018/REC-websub-20180123/) [Authenticated
+Content
+Distribution](https://www.w3.org/TR/2018/REC-websub-20180123/#authenticated-content-distribution)
+authentication method, where payloads are signed using a shared secret.
+
## Setting up affiliations
Prosodys PubSub module supports [setting affiliations via