'165426828888-7982si8gvbtvgid01nf7lkiolt0bs3vt.apps.googleusercontent.com', 'redirect_uri' => 'urn:ietf:wg:oauth:2.0:oob', 'response_type' => 'code', 'scope' => 'https://www.googleapis.com/auth/cloudprint', ); $authConfig = array( 'code' => '', 'client_id' => '165426828888-7982si8gvbtvgid01nf7lkiolt0bs3vt.apps.googleusercontent.com', 'client_secret' => 'R1M9RkVUbxc7XGRLUWld376n', 'redirect_uri' => 'urn:ietf:wg:oauth:2.0:oob', "grant_type" => "authorization_code" ); $offlineAccessConfig = array( 'access_type' => 'offline' ); $refreshTokenConfig = array( 'refresh_token' => "", 'client_id' => $authConfig['client_id'], 'client_secret' => $authConfig['client_secret'], 'grant_type' => "refresh_token" ); $urlconfig = array( 'authorization_url' => 'https://accounts.google.com/o/oauth2/auth', 'accesstoken_url' => 'https://accounts.google.com/o/oauth2/token', 'refreshtoken_url' => 'https://www.googleapis.com/oauth2/v3/token' );