Seperate the logic for creating the authorization url for easier unit testing. The authorization url used to get set immediately via header(), and scripts run through php-cli don't have access easy access to it.
Seperate the logic for creating the authorization url for easier unit testing.
The authorization url used to get set immediately via header(), and scripts run through php-cli don't have access easy access to it.

cuongkeng/google-api,cuongkeng/google-api