问题描述
请会有人点我在正确的方向?
Please would someone point me in the right direction?
我的工作定期运行,并需要与DocumentsListAPI
I am working on a hosted application that runs periodically and needs to authenticate with Google before doing stuff with the DocumentsListAPI
关键是,有没有用户present处理重定向等。
The key point is that there is no user present to handle redirects etc.
在理想情况下,我想使用.NET库(DotNetOpenAuth和谷歌GDATA)
Ideally, I would like to use the .NET libraries (DotNetOpenAuth and google-gdata)
我很乐意做腿部的工作,如果一些懂行的人只会给我推下来了正确的道路。
I'm happy to do the leg-work if some knowledgeable person would just give me a shove down the right path.
推荐答案
您将需要获得的。有什么需要发生的是,你会一次手动登录,然后生成一个应用专用密码绑你登录的帐户,之后你可以通过用户名和应用程序特定密码的API请求程序使得它不应该需要额外的用户交互你担心。
You will need to get a Application Specific Password. What will need to happen is you will log in once manually, then a generate a application specific password tied to the account you logged in with, after that you can just pass the username and the application specific password to the API requests your program makes and it should not need the extra user interaction you are concerned about.
这篇关于.NET谷歌文档API认证(没有用户交互)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!