Skip to content

Conversation

@morganchen12
Copy link
Contributor

@morganchen12 morganchen12 commented Jul 19, 2021

Fixes #951.

@morganchen12 morganchen12 requested a review from rosalyntan July 19, 2021 22:10
@google-cla google-cla bot added the cla: yes label Jul 19, 2021
@brief Requests the scopes in the `scopes` array.
*/
- (void)requestScopesWithPresentingViewController:(UIViewController *)presentingViewController
completion:(FUIAuthProviderSignInCompletionBlock)completion;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rosalyntan does this approach make sense?

Copy link
Member

Choose a reason for hiding this comment

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

I think so -- so will the developer flow for this be to call signInWithDefaultValue first to authenticate, and then requestScopesWithPresentingViewController to request the appropriate scopes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.

@brief Requests the scopes in the `scopes` array.
*/
- (void)requestScopesWithPresentingViewController:(UIViewController *)presentingViewController
completion:(FUIAuthProviderSignInCompletionBlock)completion;
Copy link
Member

Choose a reason for hiding this comment

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

I think so -- so will the developer flow for this be to call signInWithDefaultValue first to authenticate, and then requestScopesWithPresentingViewController to request the appropriate scopes?

@morganchen12 morganchen12 merged commit 93b654a into master Jul 21, 2021
@morganchen12 morganchen12 deleted the mc/gsi6 branch July 21, 2021 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Google Auth to SPM

2 participants