Skip to content

v0.3.0

Choose a tag to compare

@Project516 Project516 released this 03 Sep 23:01
· 5 commits to main since this release
ed48b14

Account management on FirebaseAuthSession, so a client on the REST path can do what the FlutterFire SDK already could.

  • updateDisplayName(name) renames the account without a re-sign-in. Fields the Identity Toolkit response omits are carried over from the current user rather than cleared.
  • linkWithIdp / linkGoogleIdToken(googleIdToken) link a second provider credential to the signed-in account, so both credentials sign in to one uid. The account keeps its own profile: the response carries the linked provider's name and email, and adopting those would swap the signed-in identity for the one just attached to it.
  • unlinkProvider(providerId) and linkedProviders(), with the new LinkedProvider type.

Also in this release: the codec is now tested against a Firestore REST document whose wire encoding was read from a live database rather than written from memory. No behavior change; see test/fixtures/README.md.

Callers that only sign in and read Firestore need no changes.