views:

8

answers:

0

I'm using the Zend Framework GData tools to manipulate various private API feeds (Calendar, contact etc). From what I've read in various examples, each API needs to be authenticated individually like so:

$service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME;
$user = "[email protected]";
$pass = "pa$$w0rd";

// Create an authenticated HTTP client
$client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $service);

// Create an instance of the Calendar service
$service = new Zend_Gdata_Calendar($client);

each one requiring a call to the google servers. If I'm writing a webapp that uses multiple private APIs, is there a way to do a single authentification and pass it to each API instead of making individual calls to the google server for each?