如何在嵌入式签名请求中处理DocuSign身份验证断言

时间:2013-09-21 00:19:05

标签: docusignapi

我没有在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";

... 请指教

1 个答案:

答案 0 :(得分:1)

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

注意:RequestRecipientToken操作中不使用“returnUrl” - 而是指定ClientURL(如SOAP API指南第94-97页中所述)。