Skip to content

Conversation

@Alex-4-Git
Copy link
Contributor

@Alex-4-Git Alex-4-Git commented Sep 20, 2022

To be consistent with GIDAuthentication, the token properties in GIDGoogleUser should be KVO-compliant.

Send KVO notifications when authState updates tokens.
@Alex-4-Git Alex-4-Git force-pushed the pin-AddKVOInGoogleUser branch from 8ded172 to e5b6c13 Compare September 20, 2022 18:23
Uses bit mask to verify KVO notifications are sent.
@Alex-4-Git Alex-4-Git requested a review from petea September 22, 2022 18:21
@Alex-4-Git Alex-4-Git requested a review from petea September 22, 2022 20:37
Since we use NSObject automatic change notifications we can remove the tests for manual notifications emission.
@Alex-4-Git Alex-4-Git force-pushed the pin-AddKVOInGoogleUser branch from 6a69d8b to d45e398 Compare September 22, 2022 21:31
@Alex-4-Git Alex-4-Git requested a review from petea September 23, 2022 22:11
Added a new test case `testUpdateAuthState_tokensAreNotChanged `
@Alex-4-Git Alex-4-Git force-pushed the pin-AddKVOInGoogleUser branch from a56786b to 9d5f7db Compare September 26, 2022 08:42
@Alex-4-Git Alex-4-Git merged commit 405dc51 into GIDGoogleUser-restructure Sep 26, 2022
@Alex-4-Git Alex-4-Git deleted the pin-AddKVOInGoogleUser branch September 26, 2022 18:29
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