Seeding module
- Source:
Methods
(inner) deleteUser(uid)
This function deletes the user object from Firebase
Parameters:
Name | Type | Description |
---|---|---|
uid |
String | Firebase uid |
- Source:
(inner) updateJWT(uid, data)
This function is used to encode the MongoID inside the JWT of the user. This is being called during sign up, i.e. the first time a user logs into the app.
Parameters:
Name | Type | Description |
---|---|---|
uid |
String | Firebase uid |
data |
Object | customClaim |
- Source: