Reputation: 65
I don't see in the API walk-through where to make the authentication assertion. I'm including it after the return URL but am not sure this is correct.
$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";
... Please advise
Upvotes: 0
Views: 641
Reputation: 13480
The DocuSign SOAP API guide (http://www.docusign.com/sites/default/files/DocuSignAPI_Guide.pdf) contains information about the schema of the RequestRecipientToken request. Specifically, see page 94-97.
Note: "returnUrl" is not used in the RequestRecipientToken operation -- instead, you specify ClientURLs (as described in pages 94-97 of the SOAP API guide).
Upvotes: 1