Skip to content

Use GTMAppAuth's new delegate protocol - #299

Merged
mdmathias merged 38 commits into
mainfrom
mdmathias/gtmaa-error-handling
May 16, 2023
Merged

Use GTMAppAuth's new delegate protocol#299
mdmathias merged 38 commits into
mainfrom
mdmathias/gtmaa-error-handling

Conversation

@mdmathias

@mdmathiasmdmathias commented Mar 27, 2023

Copy link
Copy Markdown
Collaborator

GTMAppAuth added a new protocol to provide an interface for dependencies to both add additional token refresh parameters and update errors issued by GTMAppAuth. The latter is especially for the case of EMM error handling.

Fixes#304

Comment threadSamples/ObjC/SignInSample/Source/Empty.swift Outdated
Comment threadSamples/ObjC/SignInSample/Source/Empty.swift Outdated
Comment threadSamples/Swift/DaysUntilBirthday/Podfile
Comment threadGoogleSignIn/Sources/GIDAuthStateMigration.m Outdated
Comment threadGoogleSignIn/Sources/GIDEMMSupport.m Outdated
Comment threadGoogleSignIn/Tests/Unit/GIDEMMSupportTest.m Outdated
Comment threadGoogleSignIn/Tests/Unit/GIDFailingOIDAuthState.m Outdated
Comment threadGoogleSignIn/Tests/Unit/GIDFakeFetcher.m Outdated
Comment threadGoogleSignIn/Tests/Unit/GIDGoogleUserTest.m Outdated
Comment threadGoogleSignIn/Tests/Unit/GIDEMMSupportTest.m Outdated
Comment threadGoogleSignIn/Sources/GIDAuthStateMigration.h Outdated
Comment threadGoogleSignIn/Sources/GIDAuthStateMigration.h Outdated
Comment threadGoogleSignIn/Sources/GIDEMMSupport.m Outdated
Comment threadGoogleSignIn/Sources/GIDGoogleUser.m Outdated
Comment threadGoogleSignIn/Tests/Unit/GIDEMMSupportTest.m Outdated
Comment thread.github/workflows/unit_tests.yml
Comment threadGoogleSignIn.podspec Outdated
Comment threadPackage.swift Outdated

@paulb777paulb777 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CocoaPods and SPM config changes LGTM.

Comment threadGoogleSignIn/Sources/GIDEMMSupport.m Outdated
Comment threadGoogleSignIn/Sources/GIDEMMSupport.m Outdated
Comment threadGoogleSignIn/Tests/Unit/GIDAuthStateMigrationTest.m
@mdmathias
mdmathiasforce-pushed the mdmathias/gtmaa-error-handling branch from 0015161 to 2dab4dfCompareMay 16, 2023 01:10
Comment threadGoogleSignIn/Sources/GIDAuthStateMigration.m Outdated
Comment threadGoogleSignIn/Sources/GIDGoogleUser.m Outdated
Comment threadGoogleSignIn/Sources/GIDAuthStateMigration.m Outdated
Comment threadGoogleSignIn/Sources/GIDAuthStateMigration.m Outdated
Comment threadGoogleSignIn/Tests/Unit/GIDAuthStateMigrationTest.m Outdated
Comment threadGoogleSignIn/Sources/GIDGoogleUser_Private.h Outdated
Comment threadGoogleSignIn/Sources/GIDEMMSupport.m Outdated
Also use ivar in GIDGoogleUser init instead of accessing via self.
@mdmathias
mdmathias merged commit 55bf5d0 into mainMay 16, 2023
@mdmathias
mdmathias deleted the mdmathias/gtmaa-error-handling branch May 16, 2023 20:01
Sign up for freeto 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.

GIDGoogleUser doesn't look like it will handle EMM support

4 participants

@mdmathias@paulb777@ch40w31@XiangtianDai