Intuit - 第一次连接

时间:2013-07-22 13:40:32

标签: intuit-partner-platform intuit

我对Intuit API有疑问。我想第一次使用此API连接。我正在使用.NET SDK。我将通过本教程:http://goo.gl/PzIzoa。我不知道我要在参数issuerId和subject中传递什么(步骤1.b)。我在第一次尝试时将它们留空,我正在捕获InvalidTokenException。 我必须传递哪些论据才能使其发挥作用?

编辑: 感谢您的帮助,现在我通过您的网络应用程序进行连接。 现在我想使用我的应用程序进行连接。我写了这段代码:

string certificateFile = "C:\\OpenSSL-Win32\\bin\\testapp1.crt";
string password = "xxx";
X509Certificate2 certificate = new X509Certificate2(certificateFile, password);
string consumerKey = "xxx";
string consumerSecret = "xxx";
string issuerId = "";
string subject = "";
SamlRequestValidator val = new SamlRequestValidator(certificate, consumerKey, consumerSecret, issuerId, subject);

在调用SamlRequestValidator构造函数后,我正在捕获InvalidTokenException。我究竟做错了什么?我需要做些什么才能让它发挥作用?

1 个答案:

答案 0 :(得分:1)

请查看以下链接。

https://developer.intuit.com/docs/0020_customeraccountdata/007_firstrequest

您可以使用apiexplorer工具在不使用devkit的情况下测试这些API调用。 (它将确保您的OAuth密钥正常运行)

https://developer.intuit.com/apiexplorer?apiname=CustomerAccountData

您也可以参考以下.Net示例应用程序。

https://developer.intuit.com/docs/0020_customeraccountdata/devkits/285.net_sample_app_for_cad_services

如果您遇到与此流程相关的任何问题,请与我们联系。

由于