From 61828691b2677ab9227b631b45e0c03e614aac5d Mon Sep 17 00:00:00 2001 From: Worthing ~ <115107835+w-goog@users.noreply.github.com> Date: Wed, 26 Aug 2026 17:06:05 -0700 Subject: [PATCH 1/2] g-orchestrated: pin the Swift names of the GIDClaim factory methods --- GoogleSignIn/Sources/Public/GoogleSignIn/GIDClaim.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDClaim.h b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDClaim.h index 8ff96a95..896a7b6f 100644 --- a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDClaim.h +++ b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDClaim.h @@ -38,16 +38,16 @@ extern NSString *const kAMRClaimName; #pragma mark - Factory Methods /// Creates a *non-essential* (voluntary) "auth_time" claim object. -+ (instancetype)authTimeClaim; ++ (instancetype)authTimeClaim NS_SWIFT_NAME(authTime()); /// Creates an *essential* "auth_time" claim object. -+ (instancetype)essentialAuthTimeClaim; ++ (instancetype)essentialAuthTimeClaim NS_SWIFT_NAME(essentialAuthTime()); /// Creates a *non-essential* (voluntary) "amr" claim object. -+ (instancetype)AMRClaim; ++ (instancetype)AMRClaim NS_SWIFT_NAME(amr()); /// Creates an *essential* "amr" claim object. -+ (instancetype)essentialAMRClaim; ++ (instancetype)essentialAMRClaim NS_SWIFT_NAME(essentialAMR()); @end From 013a799fe249394bfa5aa49a6c313a5bed067a31 Mon Sep 17 00:00:00 2001 From: Worthing ~ <115107835+w-goog@users.noreply.github.com> Date: Wed, 26 Aug 2026 17:21:34 -0700 Subject: [PATCH 2/2] g-orchestrated: note the GIDClaim Swift name pinning in the changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 180da5dd..b4fafa7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# Unreleased +- Pinned the Swift names of the `GIDClaim` factory methods with explicit `NS_SWIFT_NAME` annotations. The imported Swift names are unchanged (`authTime()`, `essentialAuthTime()`, `amr()` and `essentialAMR()`); they no longer depend on the Objective-C importer's implicit renaming heuristics. + # 9.2.0 - Expose the refresh token expiration date ([#577](https://github.com/google/GoogleSignIn-iOS/pull/577)) - Support requesting the `amr` (Authentication Methods References) claim ([#600](https://github.com/google/GoogleSignIn-iOS/pull/600))