configure Firebase Storage
Configures the Firebase Storage backup method for backups.
This function registers the FirebaseStorage adapter as a backup method with the MPC. Firebase backup uses Firebase ID tokens for authentication with TBS (Trustless Backup Service). The encryption key is stored on and retrieved from TBS, authenticated by both the client API key and the Firebase ID token.
Parameters
A suspend lambda that returns a fresh Firebase ID token. This is typically implemented as: `` { FirebaseAuth.getInstance().currentUser?.getIdToken(true)?.await()?.token } ``
The TBS host URL. Defaults to "backup.web.portalhq.io". The scheme (http:// or https://) is auto-detected: localhost/127.0.0.1 uses http://, all other hosts use https://. You may also pass a full URL with scheme to override auto-detection.