Commit Graph
23 Commits
Author SHA1 Message Date
Paul Beusterien 7a98fb8601 [auth-swift] UserTests.swift Part 1 (#11013) 2023-07-11 16:19:51 -07:00
Paul Beusterien ca84c9e7f5 AuthUser -> Swift (#10993) 2023-07-11 16:19:48 -07:00
Paul Beusterien 364a150bcc [auth-swift] AuthDataResult.swift (#10928) 2023-07-11 16:18:19 -07:00
Paul Beusterien 7b877f8112 [auth-swift] MultiFactor and SendVerification RPC calls and unit tests (#10893) 2023-07-11 16:17:27 -07:00
Morten Bek Ditlevsen 8c29a9eb3e Converted a few more files 2023-07-11 16:10:20 -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
Paul Beusterien da3832786b checkpoint 2023-07-11 16:05:27 -07:00
Nick Cooke 028153415a [Auth] Forward declare type in header (#11501) 2023-06-30 17:37:59 -04:00
dc754ba49b Firebase Auth TOTP support (#11261)
Added Time-based One Time Password MFA support.

Co-authored-by: pragatimodi <110490169+pragatimodi@users.noreply.github.com>
Co-authored-by: Kevin Cheung <kevinthecheung@users.noreply.github.com>
2023-06-29 10:42:07 -07:00
chuanr 0216c1a2bf Multi-app fix (#10805) 2023-02-10 14:01:39 -08:00
Igor Makarov 1095aaf47f Fix secure coding bugs in MFA (#10633) 2023-01-04 13:39:34 -08:00
chuanr 9ea83c816c Persist FIRPhoneMultiFactorInfo (instead of FIRMultiFactorInfo) so that full phone number is always cached (#10296) 2022-10-04 08:26:16 -07:00
chuanr 26075af26e Fix a bug where phone multi factor id is not correctly retrieved (#10061) 2022-08-02 09:22:39 -07:00
Ryan WilsonandHarri Hohteri 5fb9d2a448 watchOS support for FirebaseAuth. (#6260)
* watchOS support for FirebaseAuth.

This is a redo of #5585, which was a re-implementation of #4632. This
ignores any changes to GoogleUtilities, those will be done in a later
PR to create a common KeyedArchiver utility.

Co-authored-by: Harri Hohteri <harri.hohteri@gmail.com>

* Fixed lint errors, added GHA tests.

* Enabled GHA for PRs as well.

Co-authored-by: Harri Hohteri <harri.hohteri@gmail.com>
2020-08-12 16:13:45 -04:00
Paul Beusterien 4356c91e06 FirebaseAuth public headers for SPM (#6135) 2020-07-27 15:21:19 -07:00
Paul Beusterien d33b8b3ae1 SPM - Auth unit tests (#6011) 2020-07-09 13:31:53 -07:00
Paul Beusterien fb9e788086 Auth: Repo-relative headers and SPM (#5856) 2020-06-19 10:38:31 -07:00
Chuan Ren b1a1a0104b Remove unused mfa request field "mfa_provider" (#5397) 2020-04-16 14:06:06 -07:00
Paul Beusterien 42655733d5 Auth repo-relative headers (#5332) 2020-04-10 11:54:51 -07:00
Paul Beusterien df75e500b0 Migrate Auth to canonical directory structure (#5318) 2020-04-08 17:52:56 -07:00