为OneDrive无声认证 [英] Silent Authentication for OneDrive

查看:198
本文介绍了为OneDrive无声认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写一个客户端程序和他们自己的服务器上运行的入库issuses,因此决定去与云存储。作为Web应用程序是在VB.NET他们选举一起去OneDrive。

I am writing a program for a client and they are running into storage issuses on their server and as such have decided to go with Cloud storage. As the web application is in VB.NET they are electing to go with OneDrive.

有过一起来看看他们的API似乎OneDrive希望用户与他们的个人Microsoft帐户登录并上传文件到他们的个人OneDrive。我的客户希望他们通过无声的验证上时,文件选择器加载飞做可以上传文件到他们的业务OneDrive。

Having had a look at their API it seems that OneDrive wants the user to sign in with their personal Microsoft Account and upload the files to their personal OneDrive. My client wishes for them to be uploading the files to their business OneDrive via a "silent authentication" done on the fly when the file picker is loaded.

该API文档的是尽可能这方面来说没有太大的帮助( WL.init WL.login

The API doc's are not much help as far as this is concerned (WL.init, WL.login)

TL; DR你如何使用code认证,以业务OneDrive帐户,而不是用户。

TL;DR How do you authenticate to a "business" OneDrive account and not the users using code.

推荐答案

看起来像OneDrive for Business是一款完全不同的一个个人OneDrive系统。您可以使用SharePoint的API来访问thiings:<一href=\"http://blogs.msdn.com/b/sharepointdev/archive/2013/08/13/access-skydrive-pro-using-the-sharepoint-2013-apis.aspx\" rel=\"nofollow\">http://blogs.msdn.com/b/sharepointdev/archive/2013/08/13/access-skydrive-pro-using-the-sharepoint-2013-apis.aspx

Looks like OneDrive for Business is a completely different one to the personal OneDrive system. You have to use the SharePoint API's to access thiings: http://blogs.msdn.com/b/sharepointdev/archive/2013/08/13/access-skydrive-pro-using-the-sharepoint-2013-apis.aspx

没有filepicker由事物的外表,这是一件事,我需要!

No filepicker by the looks of things, which was the one thing I needed!!

这篇关于为OneDrive无声认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆