Commit Graph
17 Commits
Author SHA1 Message Date
Paul Beusterien 02a37109d5 [auth-swift] Restore Recaptcha Enterprise integration (#13205) 2024-07-01 16:42:10 -07:00
Paul Beusterien c959f1bdd3 [auth-swift] Modernize Auth API docs (#12353) 2024-02-07 08:25:52 -08:00
Paul Beusterien 7902ab42aa [auth-swift] TODO review and ObjC Sample delete (#12240) 2024-01-04 13:48:25 -08:00
Paul Beusterien b383d4e733 [auth-swift] Restore Objective-C defined public globals and typedefs (#12228) 2024-01-02 10:56:43 -08:00
Paul Beusterien 23315738f0 [auth-swift] Recaptcha Enterprise integration (#11942) 2023-10-26 14:58:09 -07:00
Paul Beusterien 969d2751d0 [auth-swift] Swift Sample Phone Auth (#11704) 2023-08-21 07:28:42 -07:00
Paul Beusterien 670521f13e [auth-swift] Bump to iOS 13, etc. (#11429) 2023-07-11 16:23:09 -07:00
Paul Beusterien 061a144c1e [auth-swift] MultiFactorResolver.swift and MultiFactor.swift (#11262) 2023-07-11 16:22:17 -07:00
Paul Beusterien d7eb58bfc1 [auth-swift] Auth.swift (#11237) 2023-07-11 16:22:08 -07:00
Paul Beusterien 36686f20bf [auth-swift] Backend now completely in Swift (#10899) 2023-07-11 16:17:43 -07:00
Paul Beusterien f168e21544 [auth-swift] CustomToken RPC to Swift (#10890) 2023-07-11 16:17:09 -07:00
Paul Beusterien 87f547ffa8 [auth-swift] OAuthProvider and OAuthCredential (#10861) 2023-07-11 16:12:43 -07:00
Paul Beusterien b4cea1ace0 Three more RPCs to Swift (#10816) 2023-07-11 16:10:17 -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
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