Creating a non-web-view-based sign-in screen for M

2019-08-02 22:22发布

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.

Sign-in Page Example

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).

Standard Page Example

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.

1条回答
beautiful°
2楼-- · 2019-08-02 22:55

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:

查看更多
登录 后发表回答