Yodlee Fastlink刷新/更新vs使用loginForm通过API providerAccount更新

问题描述 投票:0回答:1

来自Yodlee的put providerAccount API文档here

它说我必须传递loginForm数据以及用户的凭据:

5. If the credentials have to be updated in the Yodlee system, one of the following should be provided as input to this service: a. LoginForm b. Field array 6. The loginForm or the field array are the objects under the provider object that is obtained from the get provider details service response. 7. The credentials provided by the user should be embedded in the loginForm or field array object.

问题

  1. 这是否意味着我应该保存或以某种方式存储用户的银行凭证?
  2. 当我在Fastlink上完成刷新流程时,它会以某种方式预先填写凭据,而我所要做的就是点击“继续”; Fastlink如何做到这一点?如果Fastlink可以做到这一点,我的猜测是有一种编程方式来做到这一点
yodlee
1个回答
0
投票

PUT providerAccounts可用于三件事:

  1. 您可以启动帐户更新,这意味着您要求Yodlee连接到银行并使用Yodlee已为该用户帐户拥有的凭据检索最新详细信息。
  2. 您可以更新凭据(相当于Fastlink的编辑流程),如果用户在银行网站更改了密码,则用于将密码更新到Yodlee系统。
  3. 您可以在更新或修改帐户时根据需要(针对MFA网站)传递MFA信息。

虽然,回答你的问题:

1:不,你绝对不应该存储用户的银行凭据。如果您只需要更新用户的帐户,则可以在不传递loginForm或fieldArray的情况下启动该更新。如果用例是您需要更新用户密码,则应该要求用户在运行时提供其凭据。

2:您应该在不传递任何loginForm的情况下调用PUT,这就是Fastlink刷新流程所做的事情。

© www.soinside.com 2019 - 2024. All rights reserved.