Software /
code /
prosody-modules
Diff
mod_web_push/README.markdown @ 3614:f74444b0e187
mod_web_push: README: Fix list formatting
author | Maxime “pep” Buquet <pep@bouah.net> |
---|---|
date | Sun, 09 Jun 2019 22:05:39 +0200 |
parent | 3613:a5da9172362a |
line wrap: on
line diff
--- a/mod_web_push/README.markdown Sun Jun 09 22:02:24 2019 +0200 +++ b/mod_web_push/README.markdown Sun Jun 09 22:05:39 2019 +0200 @@ -32,6 +32,7 @@ (mobile). For more information, see: + - https://developer.mozilla.org/en-US/docs/Web/API/Push_API - https://developers.google.com/web/ilt/pwa/introduction-to-push-notifications @@ -39,6 +40,7 @@ Server. The general flow for subscription is: + - XMPP server generate ECDH keypair, publishes public key - XMPP client generates an ECDH keypair - XMPP client fetches server public key @@ -48,6 +50,7 @@ and its public key The flow for notifications is as follow: + - XMPP server receives an _important_[^1] message - XMPP server generates something something JWT + signature with ECDH key - XMPP server can optionally include payload encrypted for the client