This repository was archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
SRS External Interface Requirements
Anonymous edited this page Feb 18, 2015
·
6 revisions
The communication between the mobile application and the backend will use JSON as serialization format.
The visitor authentication protocol is follows:
- Visitor opens application
- Application requests a token from the server. A token has an ID and a 5 digits number. They're both unique and the number is visible to the user.
- Administrator enters the number into the backoffice and enter the visitor's information
- Application polls the server using the ID and if the ID has been added to the server it logs the user in.
Voters authenticating using username/password use OAuth2's Resource Owner Password Credentials Grant flow