pinlu před 3 roky
rodič
revize
f6f33895e1

+ 0 - 3
GoogleSignIn/Sources/GIDProfileDataFetcher/Implementations/GIDProfileDataFetcher.m

@@ -18,9 +18,6 @@ NS_ASSUME_NONNULL_BEGIN
 // The URL template for the URL to get user info.
 static NSString *const kUserInfoURLTemplate = @"https://%@/oauth2/v3/userinfo?access_token=%@";
 
-// Maximum retry interval in seconds for the fetcher.
-static const NSTimeInterval kFetcherMaxRetryInterval = 15.0;
-
 // Basic profile (Fat ID Token / userinfo endpoint) keys
 static NSString *const kBasicProfileEmailKey = @"email";
 static NSString *const kBasicProfilePictureKey = @"picture";

+ 1 - 1
GoogleSignIn/Sources/GIDSignIn.m

@@ -825,7 +825,7 @@ static NSString *const kConfigOpenIDRealmKey = @"GIDOpenIDRealm";
     
     [handlerAuthFlow wait];
     
-    [_profileDataFetcher
+    [self->_profileDataFetcher
         fetchProfileDataWithAuthState:(OIDAuthState *)authState
                            completion:^(GIDProfileData *_Nullable profileData,
                                         NSError *_Nullable error) {