我有一个关于Intuit API的问题。我想用这个接口第一次连接。我使用的是.NET SDK。我将完成本教程:http://goo.gl/PzIzoa。我不知道我必须在参数issuerId和subject中传递什么(步骤1.b)。我在第一次尝试时把它们留空了,现在我要抓住InvalidTokenException了。我必须传递什么参数才能使它工作?
编辑:感谢您的帮助,现在我正在通过您的web应用程序进行连接。现在,我想使用我的应用程序进行连接。我写了这段代码:
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。我做错了什么?我要怎么做才能让它工作?
发布于 2013-07-22 22:54:01
请看下面的链接。
https://developer.intuit.com/docs/0020_customeraccountdata/007_firstrequest
您可以使用apiexplorer工具来测试这些API调用,而无需使用devkit。(它将确保您的OAuth密钥工作正常)
https://developer.intuit.com/apiexplorer?apiname=CustomerAccountData
您也可以参考以下.Net示例应用程序。
如果您遇到任何与此过程相关的问题,请让我知道。
谢谢
https://stackoverflow.com/questions/17789107
复制相似问题