Commit Graph
25 Commits
Author SHA1 Message Date
Morgan Chen 21116161f9 Fix bad parsing of JWT dates 2018-06-26 15:47:26 -07:00
Zsika Phillip d5e748d61b Remove deprecated verify phone number (#1200)
* remove_deprecated_verify_phone

* Fixes unit tests
2018-04-30 18:25:06 -07:00
Zsika Phillip 22a943708d Adds phone auth testing. (disableAppVerification) (#1192) 2018-04-29 19:29:48 -07:00
Paul Beusterien 83b519f0a5 Remove GTM dependency from FirebaseAuth (#1175) 2018-04-24 16:19:11 -07:00
Ben Hamilton (Ben Gertzfield) cb1f65dfcf Migrate Firebase off ObjC module @import statements (#992)
* Migrate Firebase off @import statements

* - Migrate tests and test utils from @import to #import.
  - Update Xcode projects for tests to explicitly link in framework deps.
  - Update check_no_module_imports.sh to look for @imports in tests/test utils/
    integration tests.

* Ensure check_no_module_imports.sh explicitly exits with code 0 on success.
2018-03-29 08:44:48 -07:00
Paul Beusterien 31917f566c Double auth unit test timeout to address travis flakiness (#548) 2017-12-08 11:27:49 -08:00
Paul Beusterien ed3e4982f9 Standardize cross module imports with angle bracket syntax (#526)
Qualify all cross-pod imports of FirebaseCore headers
2017-12-04 08:52:11 -08:00
Paul Beusterien 3e592526ec Buildable and interoperable source pods (#444) 2017-11-21 17:02:22 -08:00
Zsika Phillip d0c65d8fc4 Fixes code style (#428) 2017-11-06 10:30:05 -08:00
Ivan 13d59e3067 handles unstructured errors on redirect URLs 2017-10-23 13:46:46 -07:00
Ivan 9f6f969334 handles unstructured errors on redirect URLs 2017-10-23 11:38:29 -07:00
Zsika Phillip 7fa0b0de42 Disambiguates known errors from web context (#322)
* Disambiguates known errors from web context
 - Disambiguates known errors possibly returned by verifyPhoneNumber:UIDelegate:completion:
2017-10-02 11:21:55 -07:00
Zsika Phillip a34d091971 Removes unused Fir_authPhoneNumber (#277)
Removes references of unused Fir_authPhoneNumber and accompanying class.
2017-09-17 22:12:53 -07:00
Zsika Phillip f1c81936dd Modifies unit tests to accommodate event ID check (#270)
* Modifies unit tests to accommodate event ID check

* Extracts event ID from outgoing URL

* Addresses comments

Checks that the URL is rejected by the callback matcher without the event ID.
2017-09-14 13:30:58 -07:00
Xiangtian Dai 58ad5d177c Adds a check for custom scheme in plist for phone number auth reCAPTCHA. (#256)
Also rewrites phone number auth reCAPTCHA tests.
2017-09-13 15:09:00 -07:00
Zsika Phillip af23702b56 ReCAPTCHA verification error handling (#241)
* reCAPTCHA error handling

* Improvements

* Addresses comments
2017-09-10 10:05:08 -07:00
Xiangtian Dai 96685dfbb9 Deprecates the old phone number auth method. (#236) 2017-09-06 11:36:26 -07:00
Zsika Phillip 954484c4c4 Removes canHandleURL from FIRAuthInternal (#235)
* Removes canHandleURL from FIRAuthInternal

Removes canHandleURL from FIRAuth_Internal and makes small modification to FIRPhoneAuthProvider unit test.

* Addresses comment
2017-09-05 23:16:28 -07:00
Zsika Phillip 85e8137180 Adds app verification alternative (#228)
* Adds app verification alternative
2017-09-04 17:37:46 -07:00
Xiangtian Dai 1e9d652610 Swizzles APNs token error app delegate method for faster turnaround. (#226)
Also removes the server request in case the token is missing.
2017-09-01 14:38:45 -07:00
Xiangtian Dai e5524db414 APNs token handling improvements. (#157)
* APNs token handling improvements.

- Calls VerifyClient without token anyway if the APNs token cannot be retrieved.
  This allows server to use discretion if needed in future. The developer will
  receive the same error as before.
- Moves token formatting code to the token class itself to make the main logic
  in the provider class more clear. This also eliminates duplicated code in the
  sample app.

* Adds a comment about a string constant used in test.
2017-07-28 17:44:46 -07:00
Xiangtian Dai 925a1cc0a2 Merge from private/auth-master (#159)
* Adds passing state and continue URL in OOBCodes actions. (#82)

* Adds actionCodeSettings class (#83)

* Adds FIRActionCodeSettings class

* Removes iOSAppStoreId to reflect update spec.

* Adds “reset password in app” to sample app (#84)

* Adds “reset password in app” to sample app

* Addresses comments

* Addresses comments

* Adds @param documentation for actionCodeSettings (#85)

Adds @param documentation for actionCodeSettings in FIRGetOOBConfirmationCodeRequest.

* Adds request configuration class

Adds a class that will comprise of all configurations needed to make a request to the Firebase Auth backend; including APIKey and Language code in the future.

* Addresses comments.

* Adds Setting Language

Add Setting Language Feature to Firebase Auth.

- Only adds support for two languages (English and Spanish) in this change. (Also supports two languages in test), more to come after this change is accepted.

- For now sample app tests language setting only when using “reset password in app” option, the email sent will be in the current app language.  Additional tests to come after change is accepted.

* Amends code for unit tests

Will add more comprehensive testing when code accepted.

* Ecodes strings files in UTF-8

* Addresses comments

* Addresses comments

* Remove comments in .strings

* Adds remaining TC languages to Firebase Auth.

* Add line break to .strings files

* remove language code english fallback

Remove the fallback that sends “en” as the language code to the backend if no language code is specified.

* addresses comment

* Fixes FIRSecureToken Crash

Integrates FIRSecureTokenService and FIRSecureTokenRequest with FIRAuthRequestConfiguration.

* Addresses comment

* Add auth language input

Adds Auth language input to the Sample App in preparation for manual testing.

* removes unnecessary comment

* address comments

* Add app language option

Allow user to set the current app language code as the auth language code.  This is in preparation for manual testing before release.

* Addresses Comment

* Adds missing continue URI

Adds missing continue URL to Firebear error handling.

* Remove unused line

Removes unused line from FIRPhoneAuthProvider.m

* Moves the new public header to the right place.

* Fixes broken macOS build.

* Removes trailing spaces.

* Addresses review comments.
2017-07-28 17:43:33 -07:00
Paul Beusterien 053b2f11ea Use modulemap to fix exposure of FirebaseCore's internal headers (#121) 2017-07-10 14:57:03 -07:00
Paul Beusterien c33bdff405 Group public headers into Public directories (#112) 2017-06-29 12:03:45 -07:00
Paul Beusterien 98ba64449a Initial 2017-05-15 12:27:07 -07:00