mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-11 22:55:59 +05:45
This PR adds native Swift `AsyncSequence` support for monitoring authentication state and ID token changes in Firebase Auth. It provides a modern `for await` syntax alternative to traditional callback listeners. * **`authStateChanges`:** Added a new property on `Auth` returning `AuthStateChangesSequence` to monitor user sign-in/sign-out state. * **`idTokenChanges`:** Added a new property on `Auth` returning `IDTokenChangesSequence` to monitor underlying token changes for the current user.