This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create the recipient | |
$rcp1 = new Recipient();// First recipient to put in recipient array | |
$rcp1->UserName = "John Doe"; | |
$rcp1->Email = $Recipient1Email; | |
$rcp1->Type = RecipientTypeCode::Signer; | |
$rcp1->ID = "1"; | |
$rcp1->RoutingOrder = 1; | |
$rcp1->RequireIDLookup = FALSE; | |
// Specify captive info to embed the recipient |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Construct the recipient token authentication assertion | |
// Specify ID, start time, method and domain | |
DocuSignWeb.RequestRecipientTokenAuthenticationAssertion assertion | |
= new DocuSignWeb.RequestRecipientTokenAuthenticationAssertion(); | |
assertion.AssertionID = new Guid().ToString(); | |
assertion.AuthenticationInstant = DateTime.Now; | |
assertion.AuthenticationMethod | |
= DocuSignWeb.RequestRecipientTokenAuthenticationAssertionAuthenticationMethod.Password; | |
assertion.SecurityDomain = "Request Recipient Token Test"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Construct the recipient token authentication assertion and specify | |
// ID, start time, method, and domain | |
$assertion = new RequestRecipientTokenAuthenticationAssertion(); | |
$assertion->AssertionID = guid(); | |
$assertion->AuthenticationInstant = nowXsdDate(); | |
$assertion->AuthenticationMethod = RequestRecipientTokenAuthenticationAssertionAuthenticationMethod::Password; | |
$assertion->SecurityDomain = "Request Recipient Token Test"; | |
// Construct the URLs based on UserName | |
$recip = $env->Recipients[0]; |
OlderNewer