SRS External Interface Requirements - SSD2015/TeamGG GitHub Wiki

User Interface

Interface mockup

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:

  1. Visitor opens application
  2. 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.
  3. Administrator enters the number into the backoffice and enter the visitor's information
  4. 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