diff options
Diffstat (limited to 'Firestore/Source/Auth/FSTEmptyCredentialsProvider.mm')
-rw-r--r-- | Firestore/Source/Auth/FSTEmptyCredentialsProvider.mm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Firestore/Source/Auth/FSTEmptyCredentialsProvider.mm b/Firestore/Source/Auth/FSTEmptyCredentialsProvider.mm index e78452a..8139d79 100644 --- a/Firestore/Source/Auth/FSTEmptyCredentialsProvider.mm +++ b/Firestore/Source/Auth/FSTEmptyCredentialsProvider.mm @@ -16,10 +16,13 @@ #import "Firestore/Source/Auth/FSTEmptyCredentialsProvider.h" -#import "Firestore/Source/Auth/FSTUser.h" #import "Firestore/Source/Util/FSTAssert.h" #import "Firestore/Source/Util/FSTDispatchQueue.h" +#include "Firestore/core/src/firebase/firestore/auth/user.h" + +using firebase::firestore::auth::User; + NS_ASSUME_NONNULL_BEGIN @implementation FSTEmptyCredentialsProvider @@ -33,7 +36,7 @@ NS_ASSUME_NONNULL_BEGIN // Since the user never changes, we just need to fire the initial event and don't need to hang // onto the block. if (block) { - block([FSTUser unauthenticatedUser]); + block(User::Unauthenticated()); } } |