Software /
code /
prosody-modules
Changeset
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 |
parents | 3613:a5da9172362a |
children | 3615:5fe34e5f9829 |
files | mod_web_push/README.markdown |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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