File tree Expand file tree Collapse file tree
GoogleSignIn/Sources/GIDVerifyAccountDetail/Implementations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,8 +149,6 @@ - (void)verifyAccountDetailsInteractivelyWithOptions:(GIDSignInInternalOptions *
149149 return ;
150150 }
151151
152- [self assertValidCurrentUser ];
153-
154152 // Explicitly throw exception for missing client ID here. This must come before
155153 // scheme check because schemes rely on reverse client IDs.
156154 [self assertValidParameters: options];
@@ -231,15 +229,6 @@ - (void)processAuthorizationResponse:(OIDAuthorizationResponse *)authorizationRe
231229
232230#pragma mark - Helpers
233231
234- // Assert that a current user exists.
235- - (void )assertValidCurrentUser {
236- if (!GIDSignIn.sharedInstance .currentUser ) {
237- // NOLINTNEXTLINE(google-objc-avoid-throwing-exception)
238- [NSException raise: NSInvalidArgumentException
239- format: @" |currentUser| must be set to verify." ];
240- }
241- }
242-
243232// Asserts the parameters being valid.
244233- (void )assertValidParameters : (GIDSignInInternalOptions *)options {
245234 if (![options.configuration.clientID length ]) {
You can’t perform that action at this time.
0 commit comments