Commit Graph
29 Commits
Author SHA1 Message Date
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
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
Chuan Ren dae3442966 Remove deprecated APIs (#2723) 2019-04-05 14:35:15 -07: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
Yue-Wang-Google 2e77efd786 Generic IDP support (#2405) 2019-02-22 21:23:17 -08: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
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 0ae7d902d7 First pass of Auth breaking changes (#1123) 2018-04-25 06:49:59 -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 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
Paul Beusterien 31917f566c Double auth unit test timeout to address travis flakiness (#548) 2017-12-08 11:27:49 -08:00
Paul Beusterien da9308408d Use brackets for module imports (#487) 2017-11-22 09:19:10 -08:00
Paul Beusterien 3e592526ec Buildable and interoperable source pods (#444) 2017-11-21 17:02:22 -08: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 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
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
Paul Beusterien 053b2f11ea Use modulemap to fix exposure of FirebaseCore's internal headers (#121) 2017-07-10 14:57:03 -07:00
Paul Beusterien c33bdff405 Group public headers into Public directories (#112) 2017-06-29 12:03:45 -07:00
Zsika Phillip 58959a676a Adds NSSecureCoding unit tests for FIRUser (#74)
* Adds unit tests for NSSecureCoding for FIRUser
2017-06-07 14:32:02 -07:00
Paul Beusterien aac64a63ae Add Foundation import so TARGET_OS_IOS or other TARGET_OS_* gets defined (#71) 2017-06-06 17:00:20 -07:00
Mathew Huusko V 5c59342e6e macOS (#38)
* Example/Core: create macOS app/tests target

* Example/Core: Core_Example/Tests -> Core_Example/Tests_iOS

* Example/Core: macOS building/tests passing

* Example/Database: separate iOS/macOS targets

* BuildFrameworks: macOS

* .travis.yml, test.sh: AllUnitTests -> AllUnitTests_iOS

* test.sh: add AllUnitTests_macOS

* Example/Storage: Example/Tests->_iOS

* Example/Storage: macOS

* test.sh: try to prevent double error 65

* test.sh: build before test

* Example/Auth|Messaging: -> _iOS

* Example/Auth: macOS build

* Example/Auth: macOS passing

* Example/Firebase: pod de/re-integrate; fix static DerivedData references; copy phase for OCMock

* Example/Firebase: manually copied OCMock, Products Dir vs. Frameworks

* Example/Firebase: copied OCMock, prevent header removal

* Example/Storage: integration tests sdk fix

* Example/Auth: macOS exclude FIRAuthAppCredentialManager; cleanup

* Firebase/Core: remove nullability annotation

* Firebase/Core|Database: correct TARGET_X usage for correctness and anticipation of OS_WATCH|TV branches

* build.swift: style fix

* Firebase/Core: FIRLogger: fix macOS intermittent va_list error
2017-06-02 10:42:17 -07:00
Paul Beusterien 98ba64449a Initial 2017-05-15 12:27:07 -07:00