Commit Graph
136 Commits
Author SHA1 Message Date
Yue-Wang-Google 12ab9b658f Add Twitter, LinkedIn, Yahoo OAuth provider to sample app. (#3117) 2019-05-30 14:16:16 -07:00
Paul Beusterien fcba5a2c61 Fix Auth post-submit CI build break (#3061) 2019-05-23 11:00:08 -07:00
Chuan Ren 30013eea06 Fix link with email link bug (#3030) 2019-05-20 10:47:46 -07:00
Yue-Wang-Google dbb1058fa5 Fix clang analyzer warning. (#2931) 2019-05-02 16:27:05 -07:00
Chuan Ren df5f7961d5 Sample app refactor (#2872) 2019-04-23 12:08:39 -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 b30d00515b Implement oauth secret token in headful-lite. (#2663)
* Implement oauth secret token in headful-lite. This is useful for Twitter sign in.

* Deprecate TwitterAuth{Provider,Credential}. OAuth sign in flow is now the recommended way to sign in with Twitter.

* Add update OAuth credential to AuthDataResult. Developer can access the secret token from that.
2019-04-04 10:47:52 -07:00
Chuan Ren 3aff8d0760 Add support of sso (#2684) 2019-04-01 14:32:44 -07:00
Chuan Ren 7d9df0fb3f Revert "Disable Facebook API tests (#2547)" (#2628)
This reverts commit ed2b99a26c.
2019-03-26 10:21:30 -07:00
Yue-Wang-Google 128e1b0f18 Retain OAuthProvider instance in sample app (#2577) 2019-03-18 13:06:32 -07:00
Paul Beusterien 966ad6878f Fix typos (#2576) 2019-03-18 12:13:33 -07:00
Paul Beusterien 2f8570f8f9 Revert "Revert "Disable Facebook API tests (#2547)" (#2566)" (#2573)
This reverts commit 2ae939b6eb.
2019-03-15 17:47:02 -07:00
Chuan Ren 2ae939b6eb Revert "Disable Facebook API tests (#2547)" (#2566)
This reverts commit ed2b99a26c.
2019-03-15 16:24:20 -07:00
Chuan Ren ed2b99a26c Disable Facebook API tests (#2547) 2019-03-13 13:08:56 -07:00
Yue-Wang-Google 6ef85e4344 Change sample code to use "microsoft.com" instead of string constant, which will be remove soon. (#2501) 2019-03-11 11:01:46 -07:00
Maksym Malyhin cd8938d3c7 Enable code coverage for AllUnitTests_iOS target (#2450)
* Enable code coverage for `AllUnitTests_iOS`

* FIRAuthAppDelegateProxyTests: fix for test of a delegate with no implemented methods.

Issue:
After deallocating of the proxy [delegate application:_mockApplication openURL:_url options:@{}] starts returning either YES or NO.
The issue is reproducible only when Code Coverage is enabled for AllUnitTests_iOS target.
Possible reason:
-[FIRAuthAppDelegateProxy dealloc] replaces implementation of the methods that were not implemented in the original delegate by `noop` function that doesn't have a return value.
Fix:
Ignore return value in the tests. The case is unlikely to happen in a real application.

* Code formatting
2019-02-27 14:30:12 -05:00
Yue-Wang-Google 2e77efd786 Generic IDP support (#2405) 2019-02-22 21:23:17 -08:00
Chuan Ren 593774b1b6 E2e tests split (#2401) 2019-02-18 18:10:01 -08:00
Chuan Ren b3f2abcb1e Split auth api tests into multiple cases (#2399) 2019-02-18 17:41:59 -08:00
Chuan Ren c09966e636 Split Auth unit tests (#2396) 2019-02-15 10:34:55 -08:00
Chuan Ren 38df2e0a71 Remove swift sample for Auth (#2371) 2019-02-11 17:47:12 -08:00
Chuan Ren a3dfe083bf Support NSSecureCoding for auth credentials (#2242) 2019-01-10 16:45:38 -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
Chuan Ren 663225526e Add support of Game Center sign in (#2127) 2018-11-30 17:30:22 -08:00
Chuan Ren ebea1eff17 Custom fdl domain (#2121) 2018-11-26 22:19:29 -08:00
Chuan Ren a1966bb639 Add test for verify iOS client (#2096) 2018-11-19 15:34:18 -08:00
Paul Beusterien 407f5d6584 Update Auth samples to sync with internal changes (#2056) 2018-11-07 14:23:14 -08:00
Chuan Ren 3e2d70506d Fix auth multi app support (#2043) 2018-11-02 17:01:54 -07:00
Paul Beusterien 5e37beb481 Attempt to fix frequent Auth Unit Test flake on OSX (#2017) 2018-10-29 07:00:58 -07:00
Paul Beusterien 76a51a5a9e Increase timeout for testDispatchAfterDelay (#1988) 2018-10-23 12:28:18 -07:00
Chuan Ren e4e9335de2 UnlinkFromFacebook and UnlinkFromEmailPassword both accidentally call to unlink from Google (#1883) 2018-09-26 20:49:04 -07:00
Chuan Ren 14683d03e7 Auth sample app update (#1860) 2018-09-20 20:57:10 -07:00
Chuan Ren f151178392 Revert "Add supporting of custom fdl domain" (#1828) 2018-09-14 16:44:56 -07:00
Chuan Ren 5e59ba1b71 Add supporting of custom fdl domain (#1810) 2018-09-13 19:42:10 -07: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
Paul Beusterien e732be51e2 Don't use module import in tests (#1500) 2018-07-06 11:16:27 -07:00
Morgan Chen 21116161f9 Fix bad parsing of JWT dates 2018-06-26 15:47:26 -07:00
Paul Beusterien d897c43472 Always run sanitizers with AllUnitTests_iOS (#1447)
* Always run sanitizers with AllUnitTests_iOS
* increase timeout value
2018-06-25 17:19:02 -07:00
Morgan Chen 5fa4f5aac4 Promote users to non-anonymous status even when linking account w/o pw 2018-06-19 16:55:40 -07:00
Zsika Phillip 0d14d9f5f5 Fixes API tests (#1235) 2018-05-07 14:27:21 -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
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 83b519f0a5 Remove GTM dependency from FirebaseAuth (#1175) 2018-04-24 16:19:11 -07:00