-
Notifications
You must be signed in to change notification settings - Fork 8
Firebase Helper Files (backend.firebase_helpers)
Andrew Peng edited this page Aug 26, 2022
·
1 revision
This page contains documentation for the files in the /backend/firebase_helpers
directory of the Github repo. This page is regularly updated when new changes are added to these files.
init_firebase()
: Uses get_secret()
to fetch the firebase secrets from AWS Secrets Manager and initializes Firebase on the backend. This is mainly used for user authentication
authenticate()
: Uses Firebase admin to verify a given id token the request ("authorization" key). The frontend must pass a dictionary with an authorization: await auth.currentUser.getIdToken(true)
in the socket request. Returns true if the token is valid, and false if it is invalid.
- Home
- Terraform
- Bearer-Token-Gen-Script
- Frontend-Backend Communication Documentation
- Backend Documentation (backend)
-
driver.py
- AWS Helper Files (backend.aws_helpers)
- Dynamo DB Utility Files (aws_helpers.dynamo_db_utils)
- AWS Secrets Utility Files (aws_secrets_utils)
- AWS Batch Utility Files (aws_batch_utils)
- Firebase Helper Files (backend.firebase_helpers)
- Common Files (backend.common)
-
constants.py
-
dataset.py
-
default_datasets.py
-
email_notifier.py
-
loss_functions.py
-
optimizer.py
-
utils.py
- Deep Learning Files (backend.dl)
- Machine Learning Files (backend.ml)
- Frontend Documentation
- Bug Manual
- Developer Runbook
- Examples to locally test DLP
- Knowledge Share