Commit Graph
37 Commits
Author SHA1 Message Date
Collin Jackson a69b8d2e2d providerID should be nil in additionalUserInfo for signInAnonymouslyWithCompletion: (#3452)
* Testing for additionalUserInfo when signing in anonymously
2019-07-29 11:18:45 -07:00
Paul Beusterien daab8e3d11 Add FirebaseAuth test_spec (#3123) 2019-06-05 20:33:21 -07:00
Yue-Wang-Google aaddd56531 Remove support for deprecated API for Firebase 6 (#2759) 2019-04-08 13:51:32 -07:00
Chuan Ren dae3442966 Remove deprecated APIs (#2723) 2019-04-05 14:35:15 -07:00
Maksym Malyhin cd507af559 Auth - use GULAppDelegateSwizzler (#2710) 2019-04-05 10:46:56 -04:00
Yue-Wang-Google 2e77efd786 Generic IDP support (#2405) 2019-02-22 21:23:17 -08:00
Chuan Ren c09966e636 Split Auth unit tests (#2396) 2019-02-15 10:34:55 -08:00
Paul Beusterien 943141e0cd Use registerLibrary for pods in Firebase workspace (#2137)
* Add versioning to Functions and convert to FIRLibrary
* Convert Firestore to FIRLibrary
* Point travis to FirebaseCore pre-release for its deps
* Update user agent strings to match spec
2018-12-13 08:36:08 -08:00
Benoit St-Pierre bc0855048a Clean up FIRAuth bits from FIRApp (#2110)
* Clean up FIRAuth bits from FIRApp
2018-12-07 09:31:10 -05:00
Paul Beusterien dcffc99554 Delete unnecessary umbrella header import (#1720) 2018-08-20 10:10:37 -07:00
Ryan Wilson 79f663d5ea Add Auth interoperability library. (#1501)
* Add Auth interoperability library.

This allows other SDKs to retrieve the user ID and fetch a new
Auth token in a type-safe way through the Core container.

* Remove unnecessary import.

* Add missing copyright.

* Resolve comments.

- Remove unnecessary umbrella header.
- Move to version 1.0.
- Add tvOS support for app lifecycle changes.

* Move public interop headers to private.

* Add public_header_files too.

* Moved headers back into public.

* Shorten Interoperability and Interoperable to Interop.

* Add AuthInterop to travis linting.

* Fixed tag format in AuthInterop.podspec.

* Add AuthInterop path to Firestore Podfile.
2018-07-11 17:40:25 -04:00
Paul Beusterien cce28ec727 Remove one more umbrella header import in Auth Tests (#1502)
* Remove one more umbrella header import in Auth Tests
* Add -ObjC for Auth Mac
* Scheme cleanups
* Make sure the FirebaseAuth framework gets linked for tvOS
2018-07-09 12:55:47 -07:00
Morgan Chen 21116161f9 Fix bad parsing of JWT dates 2018-06-26 15:47:26 -07:00
Zsika Phillip bd85f55093 Adds new callback to createUse API (breaking change) (#1186) 2018-04-25 21:50:19 -07:00
Zsika Phillip 0ae7d902d7 First pass of Auth breaking changes (#1123) 2018-04-25 06:49:59 -07:00
Paul Beusterien 2f2bb7f4c7 Import changes to build Auth as a Swift static lib (#1042) 2018-04-09 11:23:29 -07:00
Zsika Phillip fbe9f9c30c Adds support for deep link to Email/Link sign-In (#1023) 2018-04-04 10:14:36 -04:00
Zsika Phillip 6566328dc4 Adds copy auth state API (#1018)
* Adds copy auth state API

* improvements

* Addresses comments
2018-04-03 17:19:51 -07:00
Paul Beusterien 8ef0f1490a Adds Email link sign-in (#882) 2018-03-07 07:47:09 -08:00
Zsika Phillip c18af34fca Amends phone auth unit tests (#632) 2018-01-09 09:43:13 -08:00
Paul Beusterien 31917f566c Double auth unit test timeout to address travis flakiness (#548) 2017-12-08 11:27:49 -08:00
Zsika Phillip 771b0f7a65 Adds Auth Result to Sign In with Custom token (#489)
* Adds Auth Result to Sign In with Custom token

* Addresses comomments
2017-11-27 14:17:05 -08:00
Paul Beusterien da9308408d Use brackets for module imports (#487) 2017-11-22 09:19:10 -08:00
Zsika Phillip bc2d78439a Adds AuthDataResult to signInWithEmailPassword Method (#484)
* Adds AuthDataResult to signInWithEmail:Password

* Addresses comments

* Addresses comments

* addresses more comments

* Fixes broken tests
2017-11-22 08:57:07 -08:00
Paul Beusterien 3e592526ec Buildable and interoperable source pods (#444) 2017-11-21 17:02:22 -08:00
Zsika Phillip 54aef651d8 Add Auth Result to createUserWithEmail (#477) 2017-11-20 15:56:03 -08:00
Zsika Phillip 5fbe71052d Adds AuthDataResult to anonymous sign in (#470)
* Adds AuthDataResult to anonymous sign in

* Fixes typo

* Addresses comments

* addresses comment on PR
2017-11-17 15:55:56 -08:00
Xiangtian Dai 4b1b3d62d8 Simplifies logic to post auth state change notifications, which is also applied more consistently now. (#325) 2017-10-03 09:58:47 -07:00
Zsika Phillip aebb293f3d Add operation phone auth (#309)
* Adds operation to verify PhoneNumber requests

* Improvements and unit tests

* Fixes typo

* Addresses comments

- Removes the FIRAuthOperation class.
- Defines the FIRAuthOperationType as an enum in a class of the same name.
- Passes the FIRAuthOperationType value down to the verifyPhoneNumber RPC where it is translated to a string.

* Fixes unit tests

* Actually fixes the unit tests.
2017-09-27 00:16:33 -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 aac64a63ae Add Foundation import so TARGET_OS_IOS or other TARGET_OS_* gets defined (#71) 2017-06-06 17:00:20 -07:00
Paul Beusterien e2159ea882 Fix build break from macOS - Auth merge (#59) 2017-06-02 11:08:36 -07:00
Mathew Huusko V 5c59342e6e macOS (#38)
* Example/Core: create macOS app/tests target

* Example/Core: Core_Example/Tests -> Core_Example/Tests_iOS

* Example/Core: macOS building/tests passing

* Example/Database: separate iOS/macOS targets

* BuildFrameworks: macOS

* .travis.yml, test.sh: AllUnitTests -> AllUnitTests_iOS

* test.sh: add AllUnitTests_macOS

* Example/Storage: Example/Tests->_iOS

* Example/Storage: macOS

* test.sh: try to prevent double error 65

* test.sh: build before test

* Example/Auth|Messaging: -> _iOS

* Example/Auth: macOS build

* Example/Auth: macOS passing

* Example/Firebase: pod de/re-integrate; fix static DerivedData references; copy phase for OCMock

* Example/Firebase: manually copied OCMock, Products Dir vs. Frameworks

* Example/Firebase: copied OCMock, prevent header removal

* Example/Storage: integration tests sdk fix

* Example/Auth: macOS exclude FIRAuthAppCredentialManager; cleanup

* Firebase/Core: remove nullability annotation

* Firebase/Core|Database: correct TARGET_X usage for correctness and anticipation of OS_WATCH|TV branches

* build.swift: style fix

* Firebase/Core: FIRLogger: fix macOS intermittent va_list error
2017-06-02 10:42:17 -07:00
Zsika Phillip 439c29108e Handle missing email error (#54)
Adds appropriate error handling for missing email in the createUserWithEmail:password:completion: flow.

Also fixes a few typos.
2017-06-01 18:12:09 -07:00
Paul Beusterien 98ba64449a Initial 2017-05-15 12:27:07 -07:00