Yodlee Fastlink Refresh/Update vs 通过 [=11th=] 供应商帐户更新与登录表格

Yodlee Fastlink Refresh/Update vs update via API providerAccount with loginForm

来自 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 可以做到这一点,我的猜测是有一种编程方式可以做到这一点

PUT providerAccounts 可用于三件事:

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

虽然,回答你的问题:

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

2: 你应该只调用 PUT 而不传递任何 loginForm,这就是 Fastlink 刷新流程所做的。