Windows应用商店应用SSO / Live + ACS保护的WCF数据服务 [英] Windows Store App SSO/Live + ACS-protected WCF Data Service

查看:92
本文介绍了Windows应用商店应用SSO / Live + ACS保护的WCF数据服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一些帮助/示例代码,用于验证从我的Windows应用商店应用到Azure托管服务的呼叫。


我的WCF数据服务托管在Azure中目前已在ACS注册为依赖方应用程序。它使用的是DPE.Oauth库的ProtectedResourceModule。这部分似乎工作正常。


我的Windows应用商店应用使用Live SDK获取用户的Microsoft帐户信息(此时仅支持实时身份提供商)。在这里,我不知道如何从Live获取可以传递给WCF服务的令牌。


想法?



Jeff Fattic

解决方案

我不确定你的具体情况,但是服务器端方案的文档可以在这里找到:


http://msdn.microsoft.com/en-us/library/live/hh243649.aspx#get_access


I am looking for some assistance/sample code for authenticating calls from my Windows Store app to an Azure-hosted service.

My WCF Data Service is hosted in Azure and is currently registered as the relying party application in ACS. It is using the DPE.Oauth library's ProtectedResourceModule. This part seems to be working fine.

My Windows Store app gets the user's Microsoft Account information using the Live SDK (only supporting Live identity provider at this point). It's here that I'm not sure how to get a token from Live that I can pass to the WCF service.

Thoughts?


Jeff Fattic

解决方案

I'm not sure about your exact scenario, but documentation on server-side scenarios can be found here:

http://msdn.microsoft.com/en-us/library/live/hh243649.aspx#get_access


这篇关于Windows应用商店应用SSO / Live + ACS保护的WCF数据服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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