为Microsoft SkyDrive创建非基于Web视图的登录屏幕 [英] Creating a non-web-view-based sign-in screen for Microsoft SkyDrive

查看:164
本文介绍了为Microsoft SkyDrive创建非基于Web视图的登录屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在下面显示的视图中实现登录,以允许用户登录其Microsoft Live帐户,然后允许该应用程序下载他们的SkyDrive数据。





我一直在关于同一主题。

解决方案

在做了一些挖掘后,我发现微软只允许你通过他们的界面使用OAuth 2.0登录(如上图所示)。我最初想要的是完全反对他们的SDK的设计,并且不会/不会被支持。



根据 github ,最终可能有办法通过Skydrive iOS应用程序进行身份验证。但是,截至目前,只有一种方法可以通过SDK或API进行身份验证。



这也在文档中说明:

 您的应用必须通过联系Live Connect授权Web服务启动登录过程。 

资源:




I am trying to implement a sign in view like the one displayed below to allow users to sign into their Microsoft Live account and then allow the app to pull down their SkyDrive data.

I have been reading the API documentation at msdn and it seems that the documentation is centered on you using a standard web UI login form which I would like to avoid (pictured below).

So I am looking for documentation or an example of implementing a custom login form to login to windows live to get SkyDrive data. Any information would be extremely helpful as I am pretty stuck.

Note: There is also an issue open on github regarding the this same topic.

解决方案

After doing some digging I discovered that microsoft will only allow you to log in using OAuth 2.0 through their interface (pictured above). What I originally wanted goes completely against the design of their SDK and isn't/wont be supported.

According to an issue posted on github, there may eventually be a way to allow authentication through the Skydrive iOS app. As of now however, there is only one way to authenticate, through their SDK or API.

This is also stated in the documentation:

Your app must initiate the sign-in process by contacting the Live Connect authorization web service.

Resources:

这篇关于为Microsoft SkyDrive创建非基于Web视图的登录屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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