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
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
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
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
Xiangtian Dai
bf550507ff
Automatically signs user out if the token is no longer valid. ( #323 )
2017-10-02 14:15:05 -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
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
06fbbd8ee0
- Saves user metadata in keychain. ( #305 )
...
- Adds Swift stubs for the new API.
- Shows the `isNewUser` bit in the sample app.
2017-09-26 13:17:41 -07:00
Zsika Phillip
f333bd5c18
User meta data ( #292 )
...
* Add user metadata
* Small improvements
* Addresses comments
* Fixes broken tests
Adds FIRUserMetadata to unbrella file.
2017-09-21 16:35:27 -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
Xiangtian Dai
c8ea66eecf
Implements web view for presenting Auth web content on iOS 7 and 8. ( #253 )
...
Also (hopefully) fixes thread safety issues in presenting Auth web content.
2017-09-12 13:49:05 -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
Xiangtian Dai
55d2d2d8be
Fixes Auth URL presenter: ( #239 )
...
- kinda works on iOS 8-;
- calls back with cancellation error correctly on 'Done' button;
- cleans up upon completion.
2017-09-06 09:24:28 -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
Zsika Phillip
36c20d92b7
Add FirAuthUrlPresenter ( #222 )
...
* Adds FIRAuthURLPResenter and FIRAuthUIDelegate
2017-09-01 13:38:12 -07:00
Xiangtian Dai
0ce42970fc
Adds missing unit tests to the Example project and fixes one test case. ( #224 )
2017-08-30 19:19:39 -07:00
Xiangtian Dai
5d984b0611
Silences compiler warnings in the Auth test file from #207 . ( #219 )
2017-08-28 14:38:58 -07:00
Zsika Phillip
2a22a88141
fixes request URL ( #218 )
2017-08-25 14:37:36 -07:00
Zsika Phillip
fb1b4ba587
Add get Auth domain RPC ( #214 )
...
* Add get Auth domain RPC
* Fixes indentation
* Addresses comments
* ran tests on Example/Firebase.xcodeproj
2017-08-24 13:58:50 -07:00
Zsika Phillip
768c4058f3
Adds reCAPTCHA Token ( #211 )
...
* Adds reCAPTCHA Token to the "send verification code" request.
2017-08-23 09:02:50 -07:00
Xiangtian Dai
6e12c501f8
Forwards app delegate's openURL invocations to FIRAuth. ( #207 )
2017-08-21 21:14:20 -07:00
Xiangtian Dai
8c3ef6b780
Handles MISSING_EMAIL error from server. ( #187 )
2017-08-11 17:12:11 -07:00