Commit Graph
37 Commits
Author SHA1 Message Date
Paul Beusterien 6bbf96db2e Pb more phone auth unit (#11126) 2023-07-11 16:22:00 -07:00
Paul Beusterien abdbfb16d9 [auth-swift] More PhoneAuth Recaptcha tests (#11110) 2023-07-11 16:21:59 -07:00
Paul Beusterien 62df2beb0e Checkpoint after first Phone Auth Rechaptcha unit test (#11106) 2023-07-11 16:21:59 -07:00
Paul Beusterien 9b8ebf2094 [auth-swift] Phone Auth progress (#11089) 2023-07-11 16:21:20 -07:00
Paul Beusterien 09c787de3e [auth-swift] Merge AppCheck integration (#11061) 2023-07-11 16:21:02 -07:00
Paul Beusterien b16ef067f8 [auth-swift] Progress on PhoneAuthProvider.swift (#11055) 2023-07-11 16:21:02 -07:00
Paul Beusterien 2bfcc1fce5 [auth-swift] User decoding and api cleanup (#11008) 2023-07-11 16:19:51 -07:00
Paul Beusterien 9657d9ccfc Reimplement #10068 in auth-swift after rebase (#11005) 2023-07-11 16:19:51 -07:00
Paul Beusterien ca84c9e7f5 AuthUser -> Swift (#10993) 2023-07-11 16:19:48 -07:00
Paul Beusterien e95e0438a1 [auth-swift] Restore integration tests (#10941) 2023-07-11 16:19:35 -07:00
Paul Beusterien 36686f20bf [auth-swift] Backend now completely in Swift (#10899) 2023-07-11 16:17:43 -07:00
Paul Beusterien 6b3b344bcb [auth-swift] Initial Green CI (#10864) 2023-07-11 16:16:22 -07:00
Paul Beusterien 87f547ffa8 [auth-swift] OAuthProvider and OAuthCredential (#10861) 2023-07-11 16:12:43 -07:00
Paul Beusterien 3dd72ebc9a [auth-swift] Test improvements (#10829) 2023-07-11 16:12:05 -07:00
Nick Cooke 226287237f [auth-swift] Depend on FirebaseCoreExtension rather than making it a part of Auth's source (#10824) 2023-07-11 16:10:21 -07:00
Paul Beusterien 36c108193a [auth-swift] Styling #10819 2023-07-11 16:10:21 -07:00
Nick Cooke 636d3d8ebe [auth-swift] Re-enable logging code (pt. 1) (#10817) 2023-07-11 16:09:33 -07:00
Paul Beusterien fe2af5abe8 Post rebase updates for #10805 and #10441 2023-07-11 16:09:32 -07:00
Nick Cooke 025ef90376 [FirebaseAuth] Expose non-public headers to Swift and build on iOS (#10755)
* Private header exposed to internal Swift impl via private module

* Include all non-public headers in private module map

* Add TODO and #if out import

* Prefer <...> imports and fix API visibility. See more...

- The private module map enables us to selectively expose non-public
  headers to Swift. Now, the internal APIs that were made public for the
  sake of exposing to Swift can be made internal again. Swift files that
  need access to non-public API should do the following:

    @_implementationOnly import FirebaseAuth_Private

- Additionally, any public header imported into a non-public header
  needs to use <...> syntax because the header is technically coming
  from a different module (FirebaseAuth rather than FirebaseAuth_Private).

* Fix import typo

* Style

* More progress. Building for CocoaPods. Not for SPM

* Remove 'MyPrivateClass.h'

* Generate private module map

* Generate private module map followup

* Re-enable testing spec

* Style

* Remove unneeded module.modulemap

* Revert "Remove unneeded module.modulemap"

This reverts commit 3ac44c3570.

* Adjust header import since FIRAuthBackend was moved

* Get library building on iOS

* Builds on iOS

* Revert private module map and update gitignore

* Add TODO

* Wrap FirebaseAuth_Private import with #if COCOAPODS

* Modularize script with arg[0] for podspec name

* Generalize script more and remove private module map

* Revert unintentionally checked in changes

* re-style @objc(...) qualifier

* Fix check

* Fix SPM build

* Change API back to what it was originally

* Fix copyright

* Better error handling in script
2023-07-11 16:09:03 -07:00
Paul Beusterien 9ddd8fc117 Style auth-swift (#10723) 2023-07-11 16:08:06 -07:00
Paul Beusterien 855659e59c Checkpoint PhoneProvider progress (#10722) 2023-07-11 16:08:06 -07:00
Paul Beusterien 2a9ff450e4 Changes to build with pod gen on mac (#10721) 2023-07-11 16:08:02 -07:00
Morten Bek Ditlevsen 78b3357fe9 [WIP] Attempt at merging own ported swift code to official repo (#10696)
* Attempt at merging own ported swift code to official repo

* Fix: networkError was accidentally marked as internal.

* Added Copyright notices

* Moved base64 encoding extension. Reformatted a few todos

* Converted a bit of MultiFactor

* Added VerifyPhoneNumberRequest/Response and AuthOperationType
2023-07-11 16:07:41 -07:00
Paul Beusterien dda48e5bc1 checkpoint 2023-07-11 16:06:40 -07:00
Paul Beusterien eb1f4155ce Checkpoint - partway through PhoneAuth implplementations 2023-07-11 16:06:40 -07:00
Paul Beusterien 1c82df6287 AuthProviderStrings enum FR#9236 and tests 2023-07-11 16:06:39 -07:00
Paul Beusterien abab427d16 Add Swift API tests to SPM build, port FederatedAuthProvider, and style 2023-07-11 16:06:35 -07:00
Paul Beusterien ce40f1514f port credential 2023-07-11 16:05:59 -07:00
Paul Beusterien 5466453c69 GameCenter Provider minus some error codes 2023-07-11 16:05:59 -07:00
Paul Beusterien 4a433e5a15 Clean unit tests, stub OauthProvider implementation 2023-07-11 16:05:39 -07:00
Paul Beusterien da3832786b checkpoint 2023-07-11 16:05:27 -07:00
Paul Beusterien b67947118d Revert "Subclass override build failure"
This reverts commit 02f83df39018810612c775b1e751e4df3771bbac.
2023-07-11 16:05:05 -07:00
Paul Beusterien 189772143e Subclass override build failure 2023-07-11 16:05:05 -07:00
Paul Beusterien 685150da91 Revert "Fails to find function"
This reverts commit 5f5ea486eeb9fd1418afa21c9f698ad74584f0f9.
2023-07-11 16:05:05 -07:00
Paul Beusterien 718332b060 Fails to find function 2023-07-11 16:05:05 -07:00
Paul Beusterien 605e2f1ea9 Checkpoint - Subclassing fails at runtime in tests 2023-07-11 16:05:05 -07:00
Paul Beusterien 7d938427dd checkpoint 2023-07-11 16:05:03 -07:00