0

我没有在 API 演练中看到在哪里进行身份验证断言。我将它包含在返回 URL 之后,但不确定这是否正确。

$data = array(
  "returnUrl" => "http://foo.com/docusign_step_2/",
  "authenticationMethod" => "None",
  "email" => $email,
  "userName" => $name,
  "clientUserId" => $clientUserId,
);

//Authentication Assertion
$RequestRecipientTokenParams = new RequestRecipientToken();
$RequestRecipientTokenParams->EnvelopeID = $envelopeId;
$RequestRecipientTokenParams->AuthenticationAssertion->AuthenticationInstant = date("Y")."-".date("m")."-".date("d")."T00:00:00.00";
$RequestRecipientTokenParams->AuthenticationAssertion->AuthenticationMethod = "Password";
$RequestRecipientTokenParams->AuthenticationAssertion->SecurityDomain = "YourApp.com";

... 请指教

4

1 回答 1

1

DocuSign SOAP API 指南 ( http://www.docusign.com/sites/default/files/DocuSignAPI_Guide.pdf ) 包含有关 RequestRecipientToken 请求架构的信息。具体请参见第 94-97 页。

注意:在 RequestRecipientToken 操作中不使用“returnUrl” - 相反,您指定 ClientURLs(如 SOAP API 指南的第 94-97 页中所述)。

于 2013-09-21T23:11:33.760 回答