getMFAResponseForSite - 渲染阵列作为CAPTCHA图像 [英] getMFAResponseForSite - rendering array as a captcha image

查看:263
本文介绍了getMFAResponseForSite - 渲染阵列作为CAPTCHA图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我与Yodlee公司的MFA的工作,在这种情况下,验证码,我想知道如何从这个JSON的响应呈现图像领域:

I'm working with Yodlee MFAs, in this case, captcha, and I'm wondering how to render the image field from this JSON response:

{
   "isMessageAvailable":true,
   "fieldInfo":{
      "responseFieldType":"text",
      "imageFieldType":"image",
      "image":[
         66,
         77,
         58,
         116,
         0,
         0,
         0,
         0,
         0,
         0,
         54,
         0,
         0,
         0,
         40,
         0,
         0,
         0,
         -91,
         0,
         0,
         0,
         45,
         0,
         0,
         0,
         1,
         0,
         32,
         0,
         0,
         0,
         0,
         0,
         4,
         116,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -5,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -9,
         -9,
         -9,
         0,
         -1,
         -5,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -5,
         -1,
         0,
         -17,
         -17,
         -17,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -9,
         -13,
         -9,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -9,
         -9,
         -9,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -17,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0,
         -1,
         -1,
         -1,
         0
      ],
      "minimumLength":-1,
      "maximumLength":-1,
      "displayString":"Please enter the text shown in the image"
   },
   "timeOutTime":99900,
   "itemId":10014925,
   "retry":false
}

有关详细信息,您可以阅读以下链接:
<一href=\"https://developer.yodlee.com/Indy_FinApp/Aggregation_Services_Guide/Aggregation_REST_API_Reference/getMFAResponse\"相对=nofollow>链接1 ,<一个href=\"https://developer.yodlee.com/Indy_FinApp/Aggregation_Services_Guide/Aggregation_REST_API_Reference/getMFAResponseForSite\"相对=nofollow>链路2

For more information, you can read the following links: Link1, Link2

我想AP preciate任何帮助,因为我问了一个Yodlee公司重新presentative和他执导我在这里。

I would appreciate any help since I asked a Yodlee representative and he directed me here.

推荐答案

对于我来说,这是一个最好的解决办法:

For me this was a best solution:

$字符串=破灭(array_map(CHR,$图像));

在这里,你可以找到不同的实现:
<一href=\"http://stackoverflow.com/questions/5473011/how-can-i-convert-array-of-bytes-to-a-string-in-php\">How我可以转换的字节数组PHP中的字符串?

Here you can find different realizations: How can I convert array of bytes to a string in PHP?

这篇关于getMFAResponseForSite - 渲染阵列作为CAPTCHA图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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