Skip to content

Commit

Permalink
add sequence diagram to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw authored Mar 9, 2024
1 parent 1de9c6a commit 458fd27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ The flow is as follows (more details below):
1. The pam module initiates a new backend call to the WebLogin server; it send the users `sessions` and their entered `pin`; the WebLogin server verifies the pin and responds with a status code.
1. Based on the status code, the pam module allows the user to log in, or denies access.

See also the [sequence diagram](pam-weblogin.plantuml)

![sequence diagram](https://www.plantuml.com/plantuml/proxy?src=https://github.com/SURFscz/pam-weblogin/raw/main/doc/pam-weblogin.plantuml)

## API description
The WebLogin server needs to implement two API endpoints and a user interface: the request endpoint, the authentication endpoint and the authentication UI.

Expand Down

0 comments on commit 458fd27

Please sign in to comment.