Commit Graph
206 Commits
Author SHA1 Message Date
Paul Beusterien 53e5bd6cae [auth-swift] ActionCode classes to Swift (#11181) 2023-07-11 16:22:00 -07:00
Paul Beusterien a41b7f5c3f [auth-swift] Seven PhoneAuth related tests in UserTests.swift (#11172) 2023-07-11 16:22:00 -07:00
Paul Beusterien 6bbf96db2e Pb more phone auth unit (#11126) 2023-07-11 16:22:00 -07:00
Paul Beusterien a8a42979b4 [auth-swift] More PhoneAuth unit tests (#11115) 2023-07-11 16:21:59 -07:00
Paul Beusterien abdbfb16d9 [auth-swift] More PhoneAuth Recaptcha tests (#11110) 2023-07-11 16:21:59 -07:00
Nick Cooke c8381f2f9f [auth-swift] Port 'FIRAuthStoredUserManager' (#11109)
* [auth-swift] Port 'FIRAuthStoredUserManager'

* Migrate usage to temporary ported type

* Delete 'FIRAuthStoredUserManager.[hm]'

* Rename temporary type to have original type name

* Remove TODOs and fix docs
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
Nick Cooke a8781cf8ee [auth-swift] Fix test by using DataWrapper API (#11099) 2023-07-11 16:21:59 -07:00
Paul Beusterien 5f5d10d543 [auth-swift] AuthDefaultUIDelegate.swift and AuthURLPresenterTests.swift (#11096) 2023-07-11 16:21:57 -07:00
Paul Beusterien ac777fd575 [auth-swift] AuthURLPresenter implementation and PhoneAuth request (#11092) 2023-07-11 16:21:45 -07:00
Paul Beusterien 9b8ebf2094 [auth-swift] Phone Auth progress (#11089) 2023-07-11 16:21:20 -07:00
Paul Beusterien 4065bac235 [auth-swift] AuthNotificationManager (#11088) 2023-07-11 16:21:18 -07:00
Paul Beusterien 3a3d0460ec [auth-swift] RevokeToken.swift (#11083) 2023-07-11 16:21:10 -07:00
Paul Beusterien 977c504479 [auth-swift] AuthAppCredentialManagerTests.swift (#11076) 2023-07-11 16:21:02 -07:00
Paul Beusterien 0d83c60414 [auth-swift] AuthAppCredentialManager.swift (#11069) 2023-07-11 16:21:02 -07:00
Paul Beusterien ba0f4eafaa [auth-swift] Two cleanups (#11062) 2023-07-11 16:21:02 -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 6a542c56d6 [auth-swift] First user link swift unit test and a fix (#11042) 2023-07-11 16:21:02 -07:00
Nick Cooke afac1288c4 [auth-swift] Finish Auth refactoring to allow for injecting fake keychain instance for macOS tests (#11025)
* [auth-swift] User dummy keychain storage container for unit tests

* [auth-swift] Finish refactor to inject a fake keychain instance for macOS tests

* Fix CI

* Review
2023-07-11 16:20:59 -07:00
Nick Cooke 0964b71ba8 [auth-swift] Make request components for deterministic to avoid test flakes (#11024) 2023-07-11 16:20:02 -07:00
Paul Beusterien d00d9ca1d5 [auth-swift] User reload() unit tests and fix (#11023) 2023-07-11 16:20:02 -07:00
Paul Beusterien eaf20ba690 [auth-swift] GetIDTokenResult unit tests (#11019) 2023-07-11 16:20:02 -07:00
Paul Beusterien 0ba65d7f03 [auth-swift] UserProfileChangeRequest.swift (#11015) 2023-07-11 16:20:02 -07:00
Paul Beusterien 09e6fef64e Catalyst test fix and comments 2023-07-11 16:20:02 -07:00
Paul Beusterien 8a250b0648 style 2023-07-11 16:20:02 -07:00
Paul Beusterien c6c69bca3d build and test 2023-07-11 16:20:02 -07:00
Morten Bek Ditlevsen bdabd13a8d AuthWebView and AuthWebViewController 2023-07-11 16:19:59 -07:00
Paul Beusterien 7a98fb8601 [auth-swift] UserTests.swift Part 1 (#11013) 2023-07-11 16:19:51 -07:00
Nick Cooke a0a83dc91d [auth-swift] Use stored keychain service at app cleanup (#11009) 2023-07-11 16:19:51 -07:00
Paul Beusterien 2bfcc1fce5 [auth-swift] User decoding and api cleanup (#11008) 2023-07-11 16:19:51 -07:00
Paul Beusterien a35a06bd16 Objective C property functions should be Swift computed properties (#11006) 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
Nick Cooke 1d0eb4b4a5 [auth-swift] Update initializer to accept keychain storage types (#11000) 2023-07-11 16:19:39 -07:00
Nick Cooke a66687ffcd [auth-swift] Move keychain intitialization code into intializer (#10998)
* [auth-swift] Move keychain intitialization code into intializer

* Style
2023-07-11 16:19:39 -07:00
Nick Cooke 25f7f9bf4d [auth-swift] Migrate usage of FIRAuthKeychainServices to id<FIRAuthStorage> (#10997) 2023-07-11 16:19:39 -07:00
Nick Cooke 5918a70e77 [auth-swift] Move AuthStorage protocol to own file; split up AuthKeychainServices impl. (#10996)
* [auth-swift] AuthStorage protocol in own file; split AuthKeychainServices into two types

* Review feedback
2023-07-11 16:19:39 -07:00
Nick Cooke 95a94ee266 [auth-swift] Prep for keychain dependency injection (pt. 2) (#10990)
* Resolve TODO, restricting method's visibility

* Further restrict API visibility and remove unnecessary test

- There exists a private keychain method that was only used in two places
  (another keychain API and in a keychain unit test). The unit test was testing
  the private method in a way that it will never be used. And, because
  of the test reference, the visibility was internal instead of private.
  Given all of this, it seems reasonable to lock down the APIs
  visibility to private and remove the unneeded unit test.

* Commit new TODO

* Commit new TODO (pt. 2)
2023-07-11 16:19:39 -07:00
Nick Cooke f45aabc550 [auth-swift] Prep for keychain dependency injection (pt. 1) (#10976)
* [auth-swift] Prep for keychain dependency injection (pt. 1)

* Remove deleted symbol from tests

* Fix broken test
2023-07-11 16:19:39 -07:00
Paul Beusterien a3cc3e6779 [auth-swift] UserInfoImpl.swift and UserMetadata.swift (#10952) 2023-07-11 16:19:39 -07:00
Paul Beusterien e95e0438a1 [auth-swift] Restore integration tests (#10941) 2023-07-11 16:19:35 -07:00
Paul Beusterien 8f5666f19c SecureTokenService.swift (#10938) 2023-07-11 16:18:21 -07:00
Paul Beusterien 364a150bcc [auth-swift] AuthDataResult.swift (#10928) 2023-07-11 16:18:19 -07:00
Paul Beusterien 3ca31633f4 [auth-swift] AuthAppCredentialManager.swift (#10927) 2023-07-11 16:18:03 -07:00
Paul Beusterien 237df96c2e [auth-swift] APNSToken.swift (#10918) 2023-07-11 16:17:48 -07:00
Paul Beusterien 1291e0912d RPCIssuer -> rpcIssuer (#10910) 2023-07-11 16:17:48 -07:00
Paul Beusterien 215925742b [auth-swift] More AuthTests.swift (#10907) 2023-07-11 16:17:48 -07:00
Paul Beusterien 4c29370c7b [auth-swift] Swift AuthDispatcher, two fakes, one test (#10903) 2023-07-11 16:17:48 -07:00
Paul Beusterien 36686f20bf [auth-swift] Backend now completely in Swift (#10899) 2023-07-11 16:17:43 -07:00