Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement methods to create the default options for the verify flow. #387

Merged

Conversation

brnnmrls
Copy link
Member

Modify GIDSignInInternalOptions to include two new methods creating default options for the verification flow. The methods will create default options depending on whether an accountDetailsToVerify array was passed into it. Additionally a new completion block is created, GIDVerifyCompletion, to help fill the completion field with either a GIDVerifiedAccountDetailResult object or an error.

Methods added:

  1. -[GIDSignInInternalOptions defaultOptionsWithConfiguration:presentingViewController:loginHint:addScopesFlow:verifyCompletion:]
  2. -[GIDSignInInternalOptions defaultOptionsWithConfiguration:presentingViewController:loginHint:addScopesFlow:accountDetailsToVerify:verifyCompletion:]

@brnnmrls brnnmrls requested a review from mdmathias March 28, 2024 23:13
@brnnmrls brnnmrls marked this pull request as ready for review March 28, 2024 23:13
GoogleSignIn/Sources/GIDSignInInternalOptions.h Outdated Show resolved Hide resolved
GoogleSignIn/Sources/GIDSignInInternalOptions.h Outdated Show resolved Hide resolved
GoogleSignIn/Sources/GIDSignInInternalOptions.h Outdated Show resolved Hide resolved
GoogleSignIn/Sources/GIDSignInInternalOptions.h Outdated Show resolved Hide resolved
GoogleSignIn/Sources/GIDSignInInternalOptions.m Outdated Show resolved Hide resolved
GoogleSignIn/Tests/Unit/GIDSignInInternalOptionsTest.m Outdated Show resolved Hide resolved
GoogleSignIn/Tests/Unit/GIDSignInInternalOptionsTest.m Outdated Show resolved Hide resolved
GoogleSignIn/Sources/GIDSignIn_Private.h Outdated Show resolved Hide resolved
GoogleSignIn/Tests/Unit/GIDSignInInternalOptionsTest.m Outdated Show resolved Hide resolved
GoogleSignIn/Tests/Unit/GIDSignInInternalOptionsTest.m Outdated Show resolved Hide resolved
@brnnmrls brnnmrls requested a review from mdmathias April 3, 2024 23:15
@brnnmrls brnnmrls requested a review from mdmathias April 15, 2024 17:57
Copy link
Collaborator

@mdmathias mdmathias left a comment

Choose a reason for hiding this comment

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

LGTM after you resolve the last few comments!

@brnnmrls brnnmrls requested a review from mdmathias April 16, 2024 23:05
@brnnmrls brnnmrls merged commit 4ca9f96 into briannamorales/vwg-flow Apr 17, 2024
10 of 11 checks passed
@brnnmrls brnnmrls deleted the briannamorales/GIDSignInInternalOptions branch April 17, 2024 00:09
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