Delete page 'Class diagram'

master
Maxime BATISTA 1 year ago
parent a721c090a9
commit 7ebb704ff2

@ -1,12 +0,0 @@
[:leftwards_arrow_with_hook: Back to home](https://codefirst.iut.uca.fr/git/IQBall/Application-Web/wiki/Home)
# Class Diagram
### Trade classes
![Image](asset/model.png "icon")
### Authentification class
![Image](asset/modelAuth.png "icon")
The authentication class allows a user to connect to the application. A connection, more particularly a registration, is made using a unique email stored in the database and a hash of the password because the password must not be stored in the database. The user enters their email, nickname and password as well as password confirmation in the view. To connect an existing account, he will enter his email and password which will be compared with the hash in the database corresponding to the email entered. A token system is used for authentication which is assigned to the user during account registration and this token is stored in the database. Furthermore, what keeps the authentication going is the session data in PHP and not the tokens. Finally, for all entries, we will validate the characters that the user enters using the Validation class and regex.
Loading…
Cancel
Save