@@ -880,10 +880,10 @@ static CppInstanceManager<Auth> g_auth_instances;
880
880
// Update the cached user proxy for this object.
881
881
private FirebaseUser UpdateCurrentUser (FirebaseUser proxy) {
882
882
lock (appCPtrToAuth) {
883
- if (proxy == null || !proxy.IsValid ) {
883
+ if (proxy == null || !proxy.IsValid () ) {
884
884
// If there is no current user, remove the cached proxy.
885
885
currentUser = null;
886
- } else if (currentUser == null || !currentUser.IsValid ) {
886
+ } else if (currentUser == null || !currentUser.IsValid () ) {
887
887
// If no proxy is cached, cache the current proxy.
888
888
currentUser = proxy;
889
889
} else {
@@ -1371,7 +1371,7 @@ static CppInstanceManager<Auth> g_auth_instances;
1371
1371
public FirebaseUser User {
1372
1372
// Both FirebaseAuth.CurrentUser and AuthResult.User returns null if the
1373
1373
// user is invalid.
1374
- get { return (UserInternal != null && UserInternal.IsValid ) ? UserInternal : null; }
1374
+ get { return (UserInternal != null && UserInternal.IsValid () ) ? UserInternal : null; }
1375
1375
}
1376
1376
%}
1377
1377
%typemap(csclassmodifiers) firebase::auth::AuthResult " public sealed class" ;
@@ -1883,7 +1883,7 @@ static CppInstanceManager<Auth> g_auth_instances;
1883
1883
std::vector<firebase::auth::UserInfoInterface>, ProviderData, provider_data);
1884
1884
%attributestring(firebase::auth::User, std::string, ProviderId, provider_id);
1885
1885
%attributestring(firebase::auth::User, std::string, UserId, uid);
1886
- %attribute( firebase::auth::User, bool , IsValid, is_valid) ;
1886
+ %rename(IsValid) firebase::auth::User:: is_valid;
1887
1887
1888
1888
// Change the fields on UserInfoInterface and inheritors to use Properties.
1889
1889
%attributestring(firebase::auth::UserInfoInterface, std::string, UserId, uid);
0 commit comments