如何使用oAuth使用Zend Framework阅读Gmail联系人

I am done with oAuth with Google using Zend Framework. For now i am reading user google DOCs only. How can i read Gmail contacts using Zend Framework withour asking username and password.

Thank You a lot.

I dont think there is any straight forward way to do that. You can try this solution. But this uses username & pwd. You can refer to this Calendar example for how to authenticate using both ways.

oAuth is about authentication, so you will have to authenticate providing credentials.

Authentication is not possible without username and password.

However, you can use API to access the data: