diff options
author | rsgowman <rgowman@google.com> | 2017-11-30 13:26:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 13:26:25 -0500 |
commit | a251259f3ce4a04b10eedb3c9d45671a55898191 (patch) | |
tree | fc264c491fabe59cacfefb9b53b20d861d1eba58 /Firebase/Core/Private/FIRAppInternal.h | |
parent | 81d2f97b2e34d9124667924df2d9365f5a31d2ae (diff) |
Include UID when sending (internal) auth state change notifications (#507)
This is to allow firestore to not require an explicit dependency on auth.
Diffstat (limited to 'Firebase/Core/Private/FIRAppInternal.h')
-rw-r--r-- | Firebase/Core/Private/FIRAppInternal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Firebase/Core/Private/FIRAppInternal.h b/Firebase/Core/Private/FIRAppInternal.h index 2a98268..447d151 100644 --- a/Firebase/Core/Private/FIRAppInternal.h +++ b/Firebase/Core/Private/FIRAppInternal.h @@ -83,6 +83,13 @@ extern NSString *const FIRAuthStateDidChangeInternalNotificationTokenKey; */ extern NSString *const FIRAuthStateDidChangeInternalNotificationAppKey; +/** @var FIRAuthStateDidChangeInternalNotificationUIDKey + @brief A key present in the dictionary object parameter of the + @c FIRAuthStateDidChangeInternalNotification notification. The value associated with this + key will contain the new user's UID (or nil if there is no longer a user signed in). + */ +extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey; + /** @typedef FIRTokenCallback @brief The type of block which gets called when a token is ready. */ |