Created
July 31, 2014 21:45
-
-
Save almereyda/5a11248f98ddc58f57f2 to your computer and use it in GitHub Desktop.
Welcome document
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC0 4.0 by e-P + J R | |
Legend: | |
* **Greeting App** runs in the Browser. | |
* **webserviced** runs remotely on *Server A*. | |
* **webprofiled**, **webfingerd** & **Persona IdP** run remotely on *Server B*. | |
```sequence | |
participant Greeting App | |
participant webserviced | |
participant webprofiled | |
participant webfingerd | |
participant Persona IdP | |
Note right of Persona IdP: Identity Provider | |
Note over Greeting App: User tries to log in with Persona. | |
Greeting App-->>Persona IdP: Request of Assertion | |
Persona IdP-->>Greeting App: Return Assertion | |
Note over Greeting App: Assertion | |
Greeting App-->>webserviced: Sends Assertion | |
Note over webserviced: Verify Assertion | |
Note over webserviced: Extract E-Mail from Assertion | |
webserviced-->>webfingerd: GET JRD | |
Note over webfingerd: JSON Resource Descriptor | |
webfingerd->webserviced: JRD | |
Note over webserviced: JRD with URI | |
webserviced-->>webprofiled: GET URI | |
webprofiled->webserviced: Profile JSON-LD | |
webserviced->Greeting App: Name + Avatar | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment