Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
brnnmrls committed May 15, 2024
1 parent 298d9c4 commit 227f3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions GoogleSignIn/Sources/GIDSignInConstants.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,10 @@

#import "GoogleSignIn/Sources/GIDSignInConstants.h"

// The URL templates for the authorization and token endpoints.
NSString *const kAuthorizationURLTemplate = @"https://%@/o/oauth2/v2/auth";
NSString *const kTokenURLTemplate = @"https://%@/token";

// Expected path in the URL scheme to be handled.
NSString *const kBrowserCallbackPath = @"/oauth2callback";

// Parameters for the auth and token exchange endpoints.
NSString *const kAudienceParameter = @"audience";
NSString *const kOpenIDRealmParameter = @"openid.realm";
NSString *const kIncludeGrantedScopesParameter = @"include_granted_scopes";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,8 @@ - (void)verifyAccountDetailsInteractivelyWithOptions:(GIDSignInInternalOptions *
format:@"Your app is missing support for the following URL schemes: %@",
[unsupportedSchemes componentsJoinedByString:@", "]];
}
NSString *redirectURI = [NSString stringWithFormat:@"%@:%@",
[schemes clientIdentifierScheme],
kBrowserCallbackPath];
NSString *redirectURI =
[NSString stringWithFormat:@"%@:%@", [schemes clientIdentifierScheme], kBrowserCallbackPath];
NSURL *redirectURL = [NSURL URLWithString:redirectURI];

NSMutableDictionary<NSString *, NSString *> *additionalParameters = [@{} mutableCopy];
Expand Down

0 comments on commit 227f3e3

Please sign in to comment.