Commit Graph
36 Commits
Author SHA1 Message Date
Paul Beusterien 7cac9dc47a Fix firebaes typo (#755) 2018-02-06 10:42:56 -08:00
Iulian Onofrei f0272149c5 Fix incorrect deprecation message (#688)
* Fix incorrect deprecation message for Obj-C and Swift
2018-01-25 06:44:59 -08:00
alexg33 cb5f3efd3a Updating the Auth header comments for Jazzy syntax (#535) 2017-12-06 15:41:47 -08:00
Ryan Wilson 7386f00178 Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. (#476)
* Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME.

This pushes the minimum Xcode version to 7.3, as NS_SWIFT_NAME was
limited before that version (which is why the macro was introduced in
the first place).

* Fixed FIRMessaging header
2017-11-28 06:59:07 -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
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 532f538ee6 Prepare to release FirebaseAuth 4.3.0 (#345)
* Update Auth version to 4.3.0

* Revert "Removes user meta from public API (#308)"

This reverts commit 1602391bf8.

* Revert "Removes metadata from swift sample (#318)"

This reverts commit 804ff523a2.
2017-10-09 16:20:17 -07:00
Zsika Phillip 641b7c3a06 Fixes reference docs (#330)
* Fixes reference docs

Fixes reference docs for FIRAuthErrorUserInfoEmailKey.

* Modfies error code

Modifies the error code where the FIRAuthErrorUserInfoDataKey key is set.
2017-10-04 10:13:39 -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 1602391bf8 Removes user meta from public API (#308)
* Removes user meta from public API

* remove unused import

removes unused import

* Removes Swift Name
2017-09-22 11:03:08 -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
Xiangtian Dai f42d6d11e4 FIxes Swift name for the new protocol. (#289) 2017-09-19 14:01:06 -07:00
Zsika Phillip 7dc124882a Add missing comments (#273)
* Small code clean-up changes

* Fixes typos

* Addresses comment
2017-09-15 14:54:11 -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 b5ed1c60f6 Switchs Auth Swift sample to use the new phone number auth API. (#237)
Also fixes macOS tests.
2017-09-06 09:25:19 -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
Xiangtian Dai f1d5445042 Fixes Auth build when module is disabled (#231)
* Changes "@import" to "@import" to make the code buildable when module is disabled.
Also rearranges code to merge two #if blocks.

* Makes comments more accurate.

* Fixes comments.
2017-09-04 22:37:18 -07:00
Zsika Phillip 85e8137180 Adds app verification alternative (#228)
* Adds app verification alternative
2017-09-04 17:37:46 -07:00
Zsika Phillip 36c20d92b7 Add FirAuthUrlPresenter (#222)
* Adds FIRAuthURLPResenter and FIRAuthUIDelegate
2017-09-01 13:38:12 -07:00
Xiangtian Dai 9108a337d6 Updates Auth ChangeLog for the next release. (#216)
Also moves an unused public method into private header.
2017-08-25 12:01:27 -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
Zsika Phillip 3151a61ac3 Small improvements to reference docs (#193) 2017-08-15 12:54:05 -07:00
Xiangtian Dai 969d3e79fe Adds Swift stub calls for Auth 4.1.0 new features to verify the API. (#181)
Also fixes colon alignment in a header.
2017-08-07 21:23:10 -07:00
Xiangtian Dai 13627ec716 Adds the missing FIRActionCodeOperationRecoverEmail. (#177)
Also allow in-app action code handling to cancel and leave the code in pasteboard.
2017-08-04 09:56:03 -07:00
Xiangtian Dai 5430b776ca Action code fixes and improvements (#176)
* Makes Auth sample in-app password reset work on iOS 8-.

* Sets default iOS bundle ID for action code settings.

* Adds an entry in the Auth sample app to verify email in app.

* Removes '-' from 'in-app' to be consistent with other messages in the Auth sample app.
2017-08-03 19:05:25 -07:00
Ryan Wilson f2e9c2533c Add FIR_SWIFT_NAME for ActionCodeSettings. (#173) 2017-08-02 21:19:26 -07:00
Xiangtian Dai 2c4ac3773b Removes trailing whitespace characters from source files. (#169) 2017-08-02 13:56:10 -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
Zsika Phillip a759dd8859 Fixes small reference documentation mistakes (#141)
* Fixes small reference documentation mistakes
2017-07-17 14:25:49 -07:00
Paul Beusterien ddbfd4cc66 Add travis trailing whitespace check (#116)
* Add travis trailing whitespace check

* Remove trailing white space
2017-06-30 13:47:37 -04:00
Paul Beusterien c33bdff405 Group public headers into Public directories (#112) 2017-06-29 12:03:45 -07:00