简体   繁体   English

Google 日历 API:如何在没有 Google 密码的情况下创建/编辑/删除活动?

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

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.然而,这是一个问题:许多用户害怕泄露密码。

Question: Is there a way to get access to the events in Google Calendar without asking the user for his/her Google password (ie via OAuth)?问题:有没有一种方法可以在询问用户他/她的 Google 密码(即通过 OAuth)的情况下访问 Google 日历中的事件?

Thanks in advance提前致谢

Dmitri德米特里

PS: The appication is written in Java. PS:应用程序写在Java中。

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 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这里似乎很好解释: http://code.google.com/apis/gdata/articles/oauth.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM