我没有在 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";
... 请指教