-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from elf-pavlik/sequence-diagram
more common sequence diagram
- Loading branch information
Showing
4 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
sequenceDiagram | ||
participant RC as Resource Client | ||
participant RS as Resource Server | ||
participant OP as OpenID Provider | ||
participant WebID as User's WebID Document | ||
RC ->> RS: 1. unauthenticated request | ||
RS ->> RC: 2. 401 with a WWW-Authenticate HTTP header | ||
RC ->> OP: 3. start Authorization Code grant | ||
OP ->> RC: return Authorization Code | ||
RC ->> OP: 4. present Authorization Code and DPoP proof | ||
OP ->> RC: 5. return DPoP bound Access Token and OIDC ID Token | ||
RC ->> RS: 6. Access Token + DPoP proof | ||
RS ->> WebID: 7. get WebID document to verify Issuer | ||
WebID ->> RS: WebID document | ||
RS ->> OP: 8. get OP's public key to verify Access Token (JWS) | ||
OP ->> RS: JWKS | ||
RS ->> RC: 9. if all checks pass respond with representation |