Skip to content

Conversation

@Alex-4-Git
Copy link
Contributor

@Alex-4-Git Alex-4-Git commented Nov 2, 2022

Important changes

  • Move GIDAuthentication public API into GIDGoogleUser. Remove GIDAuthentication public classes. Only keep
    GIDAuthentication private for encoding backward compatibility.
  • Move addScopes: from GIDSignIn public API to GIDGoogleUser public API.

Manual testing

  • Tested DaysUntilBirthday(mac) on mac.
  • Tested DaysUntilBirthday(iOS) on Xcode simulators and real device (iPhone 11, iOS 15).

Alex-4-Git and others added 22 commits August 3, 2022 11:20
* Create class GIDUserAuth

Add class GIDUserAuth to represent the outcome of a successful signIn or addScopes flow.
Replace GIDSignInCallback with block
void (^)(GIDUserAuth *_Nullable userAuth, NSError *_Nullable error)
Add GIDToken class
* Add the property GIDConfiguration to GIDGoogleUser

- Add a GIDConfiguration to replace hostedDomain, serverClientID, openRealm.
- Remove the property serverAuthCode.
Replace GIDSignInCallback with block
void (^)(GIDUserAuth *_Nullable userAuth, NSError *_Nullable error)
Add three tokens in GIDGoogleUser API
- Add a new initializer in OIDAuthState+Testing.
- Add a test case `testUpdateAuthState`.
)

Apply the time interval `expiresIn` on both access token and id token.
@petea petea added this to the 7.0.0 milestone Nov 3, 2022
@Alex-4-Git Alex-4-Git marked this pull request as ready for review November 4, 2022 22:59
@Alex-4-Git Alex-4-Git requested review from mdmathias and petea November 4, 2022 23:00
@petea
Copy link
Contributor

petea commented Nov 8, 2022

@Alex-4-Git can you add to the PR description a brief explanation of the manual testing you've performed on this PR to confirm that the new API surface is working as expected?

@Alex-4-Git Alex-4-Git merged commit 87eddac into main Nov 10, 2022
@Alex-4-Git Alex-4-Git deleted the GIDGoogleUser-restructure branch November 10, 2022 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants