Commit Graph
98 Commits
Author SHA1 Message Date
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
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 21a6e1f930 Minor enhancements (#1041)
* Minor enhancements

* addresses comment
2018-04-07 23:59:33 -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
Zsika Phillip 7e65885762 Add sign in method constants (#923)
* Updates Changelog for 4.5.0 release
* Adds sign-in method constants
2018-03-14 18:38:55 -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 9172e6eb7a Adds AdditionalUserInfo to Phone Auth (#623) 2018-01-08 15:40:31 -08:00
davidair a84704f65b Removing an obsolete setting from plist files (#617)
* Removing an obsolete setting from plist files

* Fixing Unit Tests

* Fixing nullability
2018-01-08 10:41:25 -05:00
Zsika Phillip 4ec8b41098 Adds API Test for Email Update (#613) 2018-01-04 10:51:07 -08:00
Paul Beusterien f08b5044d6 Add Community Supported tvOS (#590)
Add Community Supported tvOS for Core, Auth, Database and Storage.
Add tvOS unit tests
Add tvOS sample app
Update README.md
Add tvOS to travis testing
2018-01-03 12:12:22 -08:00
Zsika Phillip 727edcead2 Adds new API tests for Firebase Auth (#610) 2018-01-03 00:05:48 -08:00
Zsika Phillip 60fa69332e Internal code clean up (#584)
Fixes indentation and removes unused imports.
2017-12-19 15:25:15 -08:00
Zsika Phillip 683985168e Add nil check for completion handlers (#568)
* Add nullability check for completion handler

* Addresses comments

* added line break
2017-12-14 16:20:35 -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 f502f42e26 Fixes stating host (#528) 2017-12-04 17:28:35 -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
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
Zsika Phillip 88b7e74e31 removes unused label from sample app (#468) 2017-11-16 15:27:02 -08:00
Zsika Phillip d0c65d8fc4 Fixes code style (#428) 2017-11-06 10:30:05 -08:00
Zsika Phillip 390d600b53 Improve swift sample app (#409)
* Updates the sign-in methods on Swift Sample

Updates the sign-in, reauth and link with credential methods on Swift Sample to use the recommended Auth result paradigm.

* adds missing space after {

* addresses comments
2017-10-25 16:49:59 -07:00
Ivan 13d59e3067 handles unstructured errors on redirect URLs 2017-10-23 13:46:46 -07:00
Ivan 4cf46e4123 Merge branch 'master' of https://github.com/firebase/firebase-ios-sdk into fix-reason-parameter 2017-10-23 11:39:10 -07:00
Ivan 9f6f969334 handles unstructured errors on redirect URLs 2017-10-23 11:38:29 -07:00
Paul Beusterien a9dc2f4c42 Add images and icons to silence Xcode 9 warnings (#396) 2017-10-20 16:42:25 -07:00
Xiangtian Dai a9585971c3 Silences unguarded availability warnings in Auth. (#389)
Also fixes a crash in the Auth sample app in an error case.

This addresses *Auth* part of #385 .
2017-10-19 08:58:36 -07:00
Ivan cd112a82cd Adds automated test for manual phone sign-in 2017-10-16 17:10:08 -07:00
Ivan ed4b9d4387 Adds automated test for manual phone sign-in 2017-10-16 16:58:53 -07:00
Ivan d8bcaf0f96 Adds automated test for manual phone sign-in 2017-10-16 15:07:13 -07:00