Skip to content

Commit

Permalink
Remove unnecessary comments and constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
brnnmrls committed Apr 23, 2024
1 parent 94a4175 commit 49f1a12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions GoogleSignIn/Sources/GIDSignIn.m
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,6 @@
// Minimum time to expiration for a restored access token.
static const NSTimeInterval kMinimumRestoredAccessTokenTimeToExpire = 600.0;

// Info.plist config keys
static NSString *const kConfigClientIDKey = @"GIDClientID";
static NSString *const kConfigServerClientIDKey = @"GIDServerClientID";
static NSString *const kConfigHostedDomainKey = @"GIDHostedDomain";
static NSString *const kConfigOpenIDRealmKey = @"GIDOpenIDRealm";

// The callback queue used for authentication flow.
@interface GIDAuthFlow : GIDCallbackQueue

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ - (void)verifyAccountDetails:(NSArray<GIDVerifiableAccountDetail *> *)accountDet
hint:(nullable NSString *)hint
completion:(nullable void (^)(GIDVerifiedAccountDetailResult *_Nullable verifyResult,
NSError *_Nullable error))completion {
// Get the bundle of the current executable.
NSBundle *bundle = NSBundle.mainBundle;

// If we have a bundle, try to set the active configuration from the bundle's Info.plist.
if (bundle) {
_configuration = [GIDConfiguration configurationFromBundle:bundle];
}
Expand All @@ -61,7 +58,6 @@ - (void)verifyAccountDetails:(NSArray<GIDVerifiableAccountDetail *> *)accountDet
[self verifyAccountDetailsInteractivelyWithOptions:options];
}

// Starts authorization flow using the provided options.
- (void)verifyAccountDetailsInteractivelyWithOptions:(GIDSignInInternalOptions *)options {
// TODO(#397): Sanity checks and start the incremental authorization flow.
}
Expand Down

0 comments on commit 49f1a12

Please sign in to comment.