diff options
author | Ryan Wilson <wilsonryan@google.com> | 2018-07-11 17:40:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 17:40:25 -0400 |
commit | 79f663d5eaaa4b7f9fe46d176c82660d38e4be8a (patch) | |
tree | 47b27cb93aa0372eb141668526552b3559ac1dbb /Firebase/Auth/Source/FIRUser.m | |
parent | c6b4b03fffc3cea7c9525e5c79dce28f52900521 (diff) |
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.
Diffstat (limited to 'Firebase/Auth/Source/FIRUser.m')
-rw-r--r-- | Firebase/Auth/Source/FIRUser.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Firebase/Auth/Source/FIRUser.m b/Firebase/Auth/Source/FIRUser.m index ad0b1d4..f3832a7 100644 --- a/Firebase/Auth/Source/FIRUser.m +++ b/Firebase/Auth/Source/FIRUser.m @@ -766,7 +766,7 @@ static void callInMainThreadWithAuthDataResultAndError( callInMainThreadWithAuthDataResultAndError(completion, authResult, error); return; } - if (![authResult.user.uid isEqual:[self->_auth getUID]]) { + if (![authResult.user.uid isEqual:[self->_auth getUserID]]) { callInMainThreadWithAuthDataResultAndError(completion, authResult, [FIRAuthErrorUtils userMismatchError]); return; |