Confirmed users
927
edits
Tarek.ziade (talk | contribs) (Created page with "{{LastUpdated}} {{Draft}} The goal of Mozilla Presence is to provide a way for applications to know when their users are online, even if they don't have the application ru...") |
Tarek.ziade (talk | contribs) No edit summary |
||
| Line 8: | Line 8: | ||
XXX find a better sentence here | XXX find a better sentence here | ||
= Architecture Overview = | |||
http://ziade.org/presence.jpg | |||
# appmaker asks for a token | |||
# appmaker register to the presence server to ask for presence info - basically a POST with the web hook + the token as an auth | |||
## Bob decides to give appmaker Presence access. | |||
## Bob is redirected with appmaker token to Presence service. | |||
## Bob hits 'Yes' to grant appmaker access to his Presence | |||
## Bob is redirected back to appmaker with token that includes Presence UID (the one you'll get with the update in step 5) | |||
# bob updates his status with the presence | |||
# sarah updates her status with the presence | |||
# the presence service calls the webhook to notify status updates | |||