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
455 stars 181 forks source link

Handle authorization response. #413

Closed brnnmrls closed 4 weeks ago

brnnmrls commented 2 months ago

Context: After processing the authorization response by checking if there is an authorization code, we will want to handle the response by passing back a GIDVerifiedAccountDetailsResult to encapsulate the completion of the VwG flow and pass back the necessary tokens to the requesting party.

TODO:

  1. Add properties to GIDVerifiableAccountDetailsResult.h
  2. Create and implement method -[GIDVerifyAccountDetail addCompletionCallback:].
  3. Unit testing for response handling.