简体   繁体   English

我如何访问用户的Google日历供稿

[英]How do I get access to user's google calendar feed

I want to insert certain items into my user's google calendar. 我想将某些项目插入用户的Google日历中。 I have been looking at this client library for GData: 我一直在寻找GData的客户端库:

https://developers.google.com/gdata/client-cs https://developers.google.com/gdata/client-cs

However, it requires me to pass username(email) and password. 但是,它要求我传递用户名(电子邮件)和密码。 I don't want my users to type in their email and password in my application and I store them in my database. 我不希望用户在应用程序中输入他们的电子邮件和密码,而是将它们存储在数据库中。 It is very risky business. 这是非常冒险的业务。 Is there any other way where Google would provide me token and I store the token in database for future access? Google是否有其他方法可以向我提供令牌并将令牌存储在数据库中以供将来访问? Much like what the Facebook does? 就像Facebook一样吗?

是的,请使用Google Calendar API v2并阅读有关使用Google Calendar Service进行身份验证的部分,该部分在其上调用端点以及如何调用它们。

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

相关问题 如何从用户的访问令牌获取Google日历供稿? - How do I get Google Calendar feed from user's access token? 如何访问用户的日历? - How do I get access to a user's calendar? C# Google Calendar:如何获取刚刚登录的用户的 calendarId? - C# Google Calendar : How do i get the calendarId of a user that just logged in? 我如何访问用户的头像? - How do I get access to the user's Avatar? 使用Google Calendar Feed的DotNetOpenAuth - DotNetOpenAuth with Google Calendar Feed 如何使用Visual Studio连接到Google Calendar的API? (C#) - How do I connect to google calendar's API using Visual Studio? (C#) 如何在OpenIdConnectEvents.OnAuthorizationCodeReceived中访问用户的HttpContext? - How do I access the User's HttpContext in OpenIdConnectEvents.OnAuthorizationCodeReceived? 我需要在用户不进入 consol?google.com 网站的情况下获取谷歌日历用户的凭据 - i need to get credentials of google calendar user without the user going into the consol?google.com website 给定用户的SID,如何获取其userPrincipalName? - Given a user's SID, how do I get their userPrincipalName? 如何从服务器获取用户的SID? - How do I get the user's SID from the server?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM