Google Calendar API: How to create/edit/delete events without Google password?

旧巷老猫 提交于 2019-12-20 06:12:04

问题


I have an application, which reads/edits/deletes events in Google Calendar.

Now it is necessary to enter Google user name and password for doing this.

However, this is a problem: Many users are afraid of giving away the password.

Question: Is there a way to get access to the events in Google Calendar without asking the user for his/her Google password (i. e. via OAuth) ?

Thanks in advance

Dmitri

P. S.: The appication is written in Java.


回答1:


I haven't used it, but there's an api for using oauth on google apps, including the calendar: http://code.google.com/apis/accounts/docs/OAuth.html

It appears to be pretty well explained here: http://code.google.com/apis/gdata/articles/oauth.html



来源:https://stackoverflow.com/questions/6282162/google-calendar-api-how-to-create-edit-delete-events-without-google-password

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!