HealthVault AUTH不提供WCToken(需要访问PersonInfo数据) [英] HealthVault AUTH not providing WCToken (need to access PersonInfo data)

查看:116
本文介绍了HealthVault AUTH不提供WCToken(需要访问PersonInfo数据)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个HealthVault Web应用程序。为了解释我的问题,我想澄清一下,我是
而不是在我的任何页面中扩展任何HealthVault类(HealthServicePage,HealthServiceActionPage等)。相反,我使用WebApplicationUtilities中的静态方法与HealthVault数据进行交互。我可以进入
页面的登录,登录,然后重定向到我的应用程序就好了。但我需要使用WCToken QueryString参数通过WebApplicationUtilities中的GetPersonInfo(string)方法访问PersonInfo数据。有人可以帮我找到一个不同的方式来访问
PersonInfo数据或获取WCToken参数显示所以我可以使用它吗?谢谢!

I am building a HealthVault web application. To preface my question, I want to clarify that I am not extending any HealthVault classes (HealthServicePage, HealthServiceActionPage, etc.) within any of my pages. Instead, I am using the static methods within WebApplicationUtilities to interact with HealthVault data. I am able to get to the sign in page, sign in, and get redirected to my app just fine. But I need to use the WCToken QueryString parameter to access the PersonInfo data via the GetPersonInfo(string) method within WebApplicationUtilities. Can someone help me to find a different way to access PersonInfo data or get the WCToken parameter to show up so I can use it? Thanks!

推荐答案


Hello,



有很多方法可以完成这里涉及的步骤,基本的整体流程是:

1.授权新用户,这将导致授权中使用的App ID的活动在线会话流程

2.  Wctoken返回在线会话

3. 应用可以使用wctoken连接到HealthVault以检索PersonID和RecordID

4.之后,应用程序可以创建脱机连接并直接在脱机连接中指定应用程序ID,而无需web.config

Hello,

There’s lots of ways to accomplish the steps involved here, basic overall process is:
1. Authorize new user, which results in an active online session for the App ID used in the authorization process
2. Wctoken is returned for the online session
3. App can connect to HealthVault using the wctoken to retrieve the PersonID and RecordID
4. After that, the app can create Offline connections and specify the App ID in the offline connection directly, without the web.config


-Sean

-Sean


这篇关于HealthVault AUTH不提供WCToken(需要访问PersonInfo数据)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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