Firebase starter module
Account state
Keeps user status, roles, and access changes consistent across authentication and stored app data.
- Files
- 2
- Lines
- 51
- Languages
- TypeScript
Included files
This page lists paths and purposes, not source contents.
FilePurposeLanguageLines
src/subscriptions/account-status.ts
Keeps account suspension state in sync between Firebase and your app.
TypeScript
21 lines
src/subscriptions/roles.ts
Assigns an allowed app role through Firebase custom claims and records the change.
TypeScript
30 lines