Commit Graph
26 Commits
Author SHA1 Message Date
Seyed Mojtaba Hosseini Zeidabadi 26f8726978 Fix typo of the FirebaseAuth source and test files (#13323) 2024-07-20 10:11:40 -07:00
Paul Beusterien c959f1bdd3 [auth-swift] Modernize Auth API docs (#12353) 2024-02-07 08:25:52 -08:00
Paul Beusterien 2b020d035f [auth-swift] Consistent NSSecureCoding decode (#12263) 2024-01-12 16:10:08 -08:00
Paul Beusterien 65990ba90c [auth-swift] Use open instead of public for classes, vars, and funcs (#12247) 2024-01-08 07:42:12 -08:00
Paul Beusterien 15aec98a30 [auth-swift] Fix a few decode runtime analyze issues (#12229) 2024-01-02 08:09:38 -08:00
Paul BeusterienandNick Cooke 1ff0d5f8cc [auth-swift] Add Objective C API build tests (#12121)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2023-11-21 20:54:23 -08:00
Paul Beusterien 9a3ea6f555 [auth-swift] Remove extra publics (#12097) 2023-11-13 08:47:17 -08:00
Paul Beusterien 3d01ec841d [auth-swift] Swift implementation of link anon to email password (#12083) 2023-11-09 15:04:38 -08:00
Paul Beusterien 6b997d76f2 [auth-swift] post to call rename (#11918) 2023-10-10 13:03:30 -07:00
Paul Beusterien f964d34812 [auth-swift] Property Swift optionality tests (#11915) 2023-10-10 08:58:55 -07:00
Paul Beusterien abcbae7f16 [auth-swift] Fix TOTP for building in extensions (#11909) 2023-10-09 10:12:32 -07:00
Paul Beusterien 320feffc90 [auth-swift] TOTP (#11877) 2023-10-03 09:49:41 -07:00
Paul Beusterien 6567dcc806 [auth-swift] Finish Transition to async-await for RPC calls (#11557) 2023-07-18 17:31:04 -07:00
Paul Beusterien a04c83dadd [auth-swift] async/await swath #2 (#11551) 2023-07-14 13:57:28 -07:00
Paul Beusterien c989e8d079 Post rebase style and other fixes 2023-07-11 17:54:12 -07:00
Paul BeusterienandRyan Wilson 6308920f77 [auth-swift] Rewrite Auth RPC types using Swift types (#11529)
* Rewrite Auth RPC types using Swift types.

This largely stems from the unsafe casting that occurs. Current state:
all types have been converted, almost no calls using those types have
been converted, ran into an issue with TwitterAuthCredential where it
takes a parameter that's an RPC type, but can't be visible in ObjC. This
may result in an API change unfortunately, or a rethinking of how the
AuthCredential and Providers work.
---------

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
2023-07-11 16:23:54 -07:00
Paul Beusterien 0cdea68321 [auth-swift] associated type enum for PhoneAuthCredential (#11443) 2023-07-11 16:23:10 -07:00
Paul Beusterien 670521f13e [auth-swift] Bump to iOS 13, etc. (#11429) 2023-07-11 16:23:09 -07:00
Paul Beusterien 3cf9e9f39e [auth-swift] UserTests.swift progress (#11420) 2023-07-11 16:23:07 -07:00
Paul Beusterien 061a144c1e [auth-swift] MultiFactorResolver.swift and MultiFactor.swift (#11262) 2023-07-11 16:22:17 -07:00
Paul Beusterien 01a8635271 [auth-swift] PhoneMultiFactorGenerator.swift and more cleanup (#11258) 2023-07-11 16:22:10 -07:00
Paul Beusterien b16ef067f8 [auth-swift] Progress on PhoneAuthProvider.swift (#11055) 2023-07-11 16:21:02 -07:00
Paul Beusterien ca84c9e7f5 AuthUser -> Swift (#10993) 2023-07-11 16:19:48 -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