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)) 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