google / GoogleSignIn-iOS

Enables iOS and macOS apps to sign in with Google.
https://developers.google.com/identity/sign-in/ios
Apache License 2.0
472 stars 189 forks source link

Implement GIDVerifyAccountDetail interface methods to start interactive flow. #398

Closed brnnmrls closed 3 months ago

brnnmrls commented 4 months ago

Implement GIDVerifyAccountDetail interface methods to start interactive flow by creating an instance of GIDSignInInternalOptions and calling a method to start the authorization flow passing in those options. Additionally, methods to generate a new configuration was moved from GIDSignIn to GIDConfiguration.

  1. Add new method, -[GIDVerifyAccountDetail verifyAccountDetailsInteractivelyWithOptions:], that will start the authorization flow.
  2. Implement GIDVerifyAccountDetail interface methods to generate a configuration from bundle.
  3. Create a GIDSignInInternalOptions instance and call -[GIDVerifyAccountDetail verifyAccountDetailsInteractivelyWithOptions:].