Commit Graph
26 Commits
Author SHA1 Message Date
Paul Beusterien 1a0d39a329 Merge remote-tracking branch 'origin/main' into auth-swift 2024-05-08 13:59:34 -07:00
Sheikh Bayazid e8a12e04c2 Improve/use shorthand syntax for unwrapping optionals and fix typos (#12369) 2024-05-03 08:50:20 -07:00
Paul Beusterien 87306686ee SwiftFormat update 2023-11-21 21:25:23 -08:00
Paul Beusterien 7d82f4e3af Merge origin/master to auth-swift 2023-10-06 15:17:37 -07:00
Andrew Heard 6a0c4f5fd6 [Combine] Remove canImport(Combine) and swift(>=5.0) checks (#11668)
Firebase 7.2+ requires Xcode 12+, which includes Combine support and Swift 5.3; the canImport(Combine) and swift(>=5.0) checks should now be extraneous.
2023-08-09 15:35:06 -04:00
Paul Beusterien b3bebe4eec [auth-swift] Restore SPM (#11280) 2023-07-11 16:22:41 -07:00
ae871b9dc1 Update to swiftformat 0.51.12 (#11531)
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2023-07-11 15:54:51 -07:00
Paul Beusterien fda78167b3 Fix typo (#10610) 2022-12-27 13:53:53 -08:00
Peter Friese c5bdde98f0 Register Combine modules with Swift component system (#9562) 2022-04-04 16:38:36 +02:00
Paul Beusterien 5e8790d78a Update to SwiftFormat 0.49.2 (#9239) 2022-01-21 13:03:15 -08:00
Peter Friese fc0455b832 Remove canImport directives
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-07-02 19:31:01 +02:00
Nick Cooke 898b9fb50f FirebaseCombineSwift: Docs & API cleanup (#8088)
* Docs & API cleanup

* Style

* Review

* Review 2

* Review 3

* Review 4

* Review 5
2021-05-19 09:43:43 -04:00
Peter Friese e09a40b0c3 Wrap long line
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-04-14 20:31:24 +02:00
Peter Friese 1d668f24ef Fix Auth API availability for macOS
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-04-14 20:27:25 +02:00
Peter Friese a82838c2b3 Fix formatting
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-04-14 17:06:16 +02:00
Peter Friese 77b9e489ff Multi-factor auth and PhoneAuth aren’t available on tvOS
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-04-14 16:29:37 +02:00
Tamim ziad d2ebadeb0e Combine: PhoneAuthProvider + MultiFactor Publishers (#7734)
* Add Publishers for MultiFactor
* Add PhoneAuthProvider publishers
* Firebase Auth testing support types and utilities.
* Add FIRPhoneAuthProviderFake
* Add tests for PhoneAuthProvider
2021-04-06 22:33:49 +02:00
Tamim ziad df5c13a441 Combine support to send verification email (#7602)
* ✨ Add publisher to send verification email
* 🧪 Add tests for sendEmailVerification(with:)
* 💄  Fix formatting
2021-02-26 18:37:13 +01:00
Tamim ziad ce1034a192 Mark GameCenterAuthProvider as unavailable on WatchOS (#7599)
Thanks for the fix, @ziadtamim.
2021-02-26 18:22:21 +01:00
Tamim ziad 9ac2cde1f8 Creates auth credential for Game Center sign in (#7548)
* ✨ Add publisher to create `AuthCredential` for Game Center sign in
* 🪡 Refactor publisher name
* 🧪  Add tests for signIn(withGameCenter:)
* 🧪  Add tests for GameCenterAuthProvider
* 🧹  Fix formatting
2021-02-23 12:01:47 +01:00
Tamim ziad 0f1e778a1f Combine Support: Disassociate user account from 3P IdP (#7580)
* ✨ Add publisher to disassociates a user account from provider
* 🧪 Add tests for unlink(fromProvider:)
* 💄 Fix formatting
2021-02-23 10:06:00 +01:00
Tamim ziad 0144cf0850 Combine Support: Renew the user authentication (#7534)
* ✨ Add publisher renews user's authentication
* 🧪 Add tests for reauthenticate(with credential:) in User
* 💄 Fix style
* 🪡 Fix names
* ✔️ Address feedback from review
2021-02-17 10:30:31 +01:00
Tamim ziad 9249367f32 Combine Support: Link user from a third-party provider (#7504)
* ✨  Add publisher link user from a third-party provider
* 🧪 Add tests for link(with credential:) in User
* 💄  Fix style
* ✔️ Address feedback
2021-02-15 11:51:01 +01:00
Tamim ziad 0eda821449 Combine Support: getCredentialWith(_:) in OAuthProvider (#7446)
* ✨ Add publisher for getCredentialWith(_:) in OAuthProvider
* 🧪 Add tests for getCredentialWith(_:) in OAuthProvider
* 🪡  Place OAuthProvider at the source
2021-02-04 21:36:15 +01:00
Tamim ziad aac9095884 Combine Support: add support for Sign in with 3rd party credentials (#7248)
* ✨  Add publisher for signing in with credentials
* ✨  Add publisher for resolving sign in with assertion
* ✨Add publisher for verifying phone number ownership
* 🧪 Add tests for SignInWithCredential
* 🗞  Update README for Sign in with credentials
2021-01-23 14:08:17 +01:00
Peter Friese d90594069a Add basic support for Combine (#6976)
* 🎉 Add basic infrastructure for supporting Combine in Firebase
* ✨ Add publisher for AuthStateListener
* 💉 Add podspec for FirebaseCombineSwift
* 🖋️ Add changelog
* 👩🏻‍🔬 Add basic test infrastructure
* 📦 Export combine support on a per-SDK basis
2021-01-13 17:13:46 +01:00