SRS External Interface Requirements - SSD2015/TeamGG GitHub Wiki
User Interface
Software Interface
The communication between the mobile application and the backend will use JSON as serialization format.
Communication Interface
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