Skip to content

Instantly share code, notes, and snippets.

@ianbarber
Created June 18, 2014 18:30
Show Gist options
  • Save ianbarber/f9db50ba8670a8d9119d to your computer and use it in GitHub Desktop.
Save ianbarber/f9db50ba8670a8d9119d to your computer and use it in GitHub Desktop.
Retrieve code from GPPSignIn
- (void)finishedWithAuth:(GTMOAuth2Authentication *)auth error:(NSError *)error {
NSString *code = [GPPSignIn sharedInstance].homeServerAuthorizationCode;
// Send code to server!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment