Now uses firebase complete tokens; it verifies the signature and integrity of the token, the origin of the project the token was issued for, the secret key, and finally the sub before verifying the account.
Now every server related event is logged.
Users will soon be able to access their server's history on the front as well.
Co-authored-by: Antoninop <antoninopiraino70@gmail.com>
Fully implemented authentication
Fully implemented return codes and errors
Fully implemented firestore database data
Created 'fetch_servers' and 'set_subdomain' routes for front-end use.
[+] Security patch, requests will not return anything if not properly authenticated
[~] Reworked the route system entirely
[+] TODO : firebase_manager.py error handling
[+] TODO : global error log using file_manager.log_error(error_type:str, error_message:str)
Signed-off-by: Charles Le Maux <charles.le-maux@epitech.eu>