Google Calendar API:如何在没有Google密码的情况下创建/编辑/删除事件? [英] Google Calendar API: How to create/edit/delete events without Google password?
问题描述
我有一个应用程序,可以读取/编辑/删除Google日历中的事件.
I have an application, which reads/edits/deletes events in Google Calendar.
现在需要输入Google用户名和密码.
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.
问题:是否有一种方法可以无需访问Google日历中的事件,而无需向用户询问他/她的Google密码(即通过OAuth)?
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) ?
预先感谢
Dmitri
P. S .:该应用程序是用Java编写的.
P. S.: The appication is written in Java.
推荐答案
我没有使用它,但是有一个api可在Google应用程序上使用oauth,包括日历:
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
似乎在这里进行了很好的解释: http://code.google .com/apis/gdata/articles/oauth.html
It appears to be pretty well explained here: http://code.google.com/apis/gdata/articles/oauth.html
这篇关于Google Calendar API:如何在没有Google密码的情况下创建/编辑/删除事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!