Premium User - PauliusGrigaliunas/cafe-demo GitHub Wiki
What is it?
A user with access to additional functionality such as:
- One button login (Premium prisijungimas);
- Ability to reserve the last vacant table.
How does one button login work?
When the button is pressed the app checks for a file PremiumUserLogin.xml with a LoginDetails
class that stores user's email
and password
. After getting login details it checks with the database if a premium user with these details exists. If all is successful the user is logged in.
If there is no file, and user has written a premium user's login data, that file is created for the next time.