File:private-webmention-sequence-diagram.png

Generated with https://bramp.github.io/js-sequence-diagrams/

Title: Private Webmention participant token.alice participant alice participant bob participant wm.bob participant auth.bob

alice->bob: 1. discover webmention\nendpoint alice->wm.bob: 2. send webmention wm.bob->alice: 3. verify webmention alice-->wm.bob: 401 unauthorized wm.bob->auth.bob: 4. auth code\nrequest auth.bob-->wm.bob: auth code wm.bob->alice: 5. discover token endpoint wm.bob->token.alice: 6. token request\nwith auth code token.alice->bob: 7. discover auth endpoint token.alice->auth.bob: 8. verify auth code auth.bob-->token.alice: confirmed token.alice-->wm.bob: access token wm.bob->alice: 9. verify webmention\nwith access token alice-->wm.bob: returns private content