智能电视应用程序(三星、LG和其他一些公司)正在使用HTML5+js+CSS进行编码。我想知道将Microsoft Azure ACS集成到这些智能电视中的可行性。我在样例中使用了asp.net mvc3和windows phone来构建ACS,但我真的不知道如何将ACS集成到智能电视应用程序中。
我认为它的工作原理更像windows phone7的方法,但即使我拿到了代码(它开箱即用),我仍然不能准确地了解windows phone7上的ACS的工作流程。
这里的任何人都可以提出一些意见和建议,这将是非常有帮助的。
谢谢。
发布于 2012-09-14 17:44:29
可在the source here中找到WP7的工作流
/// Initiates a token request from ACS following these steps:
/// 1) Get the list of configured Identity Providers from ACS by calling the discovery service
/// 2) Once the user selects their identity provider, navigate to the sign in page of the provider
/// 3) Using the WebBrowser control to complete the passive token request complete
/// 4) Get the token
/// 5) If a RequestSecurityTokenResponseStore is specified, set the token.
/// 6) return the token using the RequestSecurityTokenResponseCompleted callback但我怀疑你是否愿意走这条路,除非SmartTV有浏览器控件之类的东西。另一种解决方案是:
发布于 2012-09-25 08:27:41
任何可以呈现网页的平台都可以使用ACS。如果WP7示例中使用的标准window.external.Notify()机制不受支持,您可以制作自己的网页,该网页接受来自ACS的帖子,并将令牌消息转换为电视应用程序需要使用的任何类型的HTML或脚本。不过,这是一个有趣的场景。人们真的会在电视上输入联合应用的用户名和密码吗?
https://stackoverflow.com/questions/12420241
复制相似问题