Skip to content

Commit 42bf359

Browse files
committed
Add the property configuration to GIDGoogleUser (#183)
* Add the property GIDConfiguration to GIDGoogleUser - Add a GIDConfiguration to replace hostedDomain, serverClientID, openRealm. - Remove the property serverAuthCode.
1 parent 03d6d8d commit 42bf359

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

GoogleSignIn/Sources/GIDGoogleUser.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,14 @@ - (nullable NSString *)hostedDomain {
173173
return nil;
174174
}
175175

176+
- (nullable NSString *)serverClientID {
177+
return [_authState.lastTokenResponse.request.additionalParameters[kAudienceParameter] copy];
178+
}
179+
180+
- (nullable NSString *)openIDRealm {
181+
return [_authState.lastTokenResponse.request.additionalParameters[kOpenIDRealmParameter] copy];
182+
}
183+
176184
#pragma mark - NSSecureCoding
177185

178186
+ (BOOL)supportsSecureCoding {

0 commit comments

Comments
 (0)