Commit Graph
92 Commits
Author SHA1 Message Date
Chuan Ren 4433d07709 MFA beta (#4823) 2020-03-10 13:30:20 -07:00
Chuan Ren a55467a225 Unify naming of keychain services and user defaults (#3473) 2019-07-31 13:24:16 -07:00
Collin Jackson 526a1adda2 fix for signInProvider property of FIRAuthTokenResult returning nil (#3446)
* fix for signInProvider

* Add a test

* Use constant
2019-07-29 11:19:43 -07:00
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
Chuan Ren 30013eea06 Fix link with email link bug (#3030) 2019-05-20 10:47:46 -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
Paul Beusterien 966ad6878f Fix typos (#2576) 2019-03-18 12:13:33 -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 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
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
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 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 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
Zsika Phillip b2cf8c6d3d Fixes base64URL encoding (#1161)
* Fixes base64URL encoding

* Addresses comments

* Addresses comment
2018-04-20 18:58:23 -07:00
Zsika Phillip ac969c721a Fixes typo that causes token parsing to break (#1076) 2018-04-12 16:54:22 -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
Zsika Phillip ea490a2c64 Custom claims client api (#1004)
* Adds custom claims API to client

* Ammends branch

Adds:
- Deprecation messages
- Fixes auth result keys
- Ammends sample app
- Adds unit tests

* fixes typo

switches “to” to “so”
2018-03-29 18:16:45 -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 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
Zsika Phillip 60fa69332e Internal code clean up (#584)
Fixes indentation and removes unused imports.
2017-12-19 15:25:15 -08: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
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