File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -72,17 +72,17 @@ - (nullable NSString *)validatedJSONStringForClaims:(nullable NSSet<GIDClaim *>
7272 }
7373
7474 // === Step 2: Build the dictionary structure required for OIDC JSON ===
75- NSMutableDictionary <NSString *, NSDictionary *> *tokenClaimsDictionary =
75+ NSMutableDictionary <NSString *, NSDictionary *> *claimsDictionary =
7676 [[NSMutableDictionary alloc ] init ];
7777 for (GIDClaim *claim in validClaims.allValues ) {
7878 if (claim.isEssential ) {
79- tokenClaimsDictionary [claim.name] = @{ kGIDClaimEssentialPropertyKey : @YES };
79+ claimsDictionary [claim.name] = @{ kGIDClaimEssentialPropertyKey : @YES };
8080 } else {
81- tokenClaimsDictionary [claim.name] = @{ kGIDClaimEssentialPropertyKey : @NO };
81+ claimsDictionary [claim.name] = @{ kGIDClaimEssentialPropertyKey : @NO };
8282 }
8383 }
8484 NSDictionary <NSString *, id > *finalRequestDictionary =
85- @{ kGIDClaimKeyName : tokenClaimsDictionary };
85+ @{ kGIDClaimKeyName : claimsDictionary };
8686
8787 // === Step 3: Serialize the final dictionary into a JSON string ===
8888 return [_jsonSerializer stringWithJSONObject: finalRequestDictionary error: error];
Original file line number Diff line number Diff line change @@ -921,7 +921,7 @@ - (void)testAddScopes_WithPreviouslyRequestedClaims {
921921 useAdditionalScopes: NO
922922 additionalScopes: nil
923923 manualNonce: nil
924- claims: [NSSet setWithObject: authTimeClaim]];
924+ claims: [NSSet setWithObject: authTimeClaim]];
925925
926926 XCTAssertNotNil (_signIn.currentUser );
927927
You can’t perform that action at this time.
0 commit comments