Skip to content

Commit d42cf2d

Browse files
committed
Merge branch 'phone-auth' of https://github.com/docusign/code-examples-node-private into phone-auth
2 parents ecd30dd + 2f485e4 commit d42cf2d

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed

views/pages/examples/eg020PhoneAuthentication.ejs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Sends an envelope that requires entering a six-digit code from a text message or phone call for the purpose of multifactor authentication.
77
</p>
88
<p>
9-
The envelope includes a pdf document. Anchor text
9+
The envelope includes a PDF file. Anchor text
1010
(<a href="https://developers.docusign.com/docs/esign-rest-api/esign101/concepts/tabs/auto-place/">AutoPlace</a>)
1111
is used to position the signing fields in the documents.
1212
</p>
@@ -16,21 +16,21 @@
1616

1717
<p>
1818
API method used:
19-
<a target='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes:create</a>
19+
<a target='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes:create</a>.
2020
</p>
2121

2222

2323
<% include ../../partials/gitSource %>
2424
<form class="eg" action="" method="post" data-busy="form">
2525
<div class="form-group">
26-
<label for="countryCode">Country Code</label>
26+
<label for="countryCode">Signer Country Code</label>
2727
<input type="text" class="form-control" id="countryCode" placeholder="1" name="countryCode"
28-
value="1" required>
28+
required>
2929
</div>
3030
<div class="form-group">
31-
<label for="phoneNumber">Phone Number</label>
32-
<input type="text" class="form-control" id="phoneNumber" placeholder="415-555-1212" name="phoneNumber"
33-
value="415-555-1212" required>
31+
<label for="phoneNumber">Signer Phone Number</label>
32+
<input type="text" class="form-control" id="phoneNumber" placeholder="4155551212" name="phoneNumber"
33+
required>
3434
</div>
3535
<div class="form-group">
3636
<label for="signerEmail">Signer Email</label>
@@ -48,4 +48,4 @@
4848
<button type="submit" class="btn btn-docu">Submit</button>
4949
</form>
5050

51-
<% include ../../partials/examplesFoot %>
51+
<% include ../../partials/examplesFoot %>

views/pages/index.ejs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313

1414
<% if (locals.dsConfig.multiSourceChooser) { %>
1515
<h1 class="display-4">Welcome</h1>
16-
<p class="Xlead">Welcome to the DocuSign code examples with
17-
OAuth Authorization Code Grant and JWT.</p>
16+
<p class="Xlead">Run and explore DocuSign code examples with Authorization Code Grant or JWT Grant authentication</p>
1817
<% } else { %>
1918
<h1 class="display-4">Node Launcher</h1>
2019
<% if (dsConfig.examplesApi.isAdminApi) { %>
@@ -23,7 +22,7 @@
2322
</p>
2423
<% } else { %>
2524
<p class="Xlead">
26-
Welcome to the DocuSign Node examples using multiple OAuth flows (JWT and Authorization Code Grant).
25+
Run and explore eSignature REST API code examples with Authorization Code Grant or JWT Grant authentication
2726
</p>
2827
<% } %>
2928
<% } %>

views/pages/index_esignature_examples.ejs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
<h2>Welcome</h2>
2-
<p>This launcher includes the following examples for the DocuSign eSignature REST API.</p>
3-
41
<% if (showDoc) { %>
52
<p><a target='_blank' href='<%= documentation %>'>Documentation</a> on using OAuth Authorization Code Grant and
63
JWT from a Node Express application.</p>
@@ -9,7 +6,7 @@
96
<% if (locals.dsConfig.multiSourceChooser) { %>
107
<h3 class="mt-4">Code Examples for C#, PHP, Java, Node.js, Python, and Curl</h3>
118
<% } else { %>
12-
<h3 class="mt-4">Code Examples</h3>
9+
<h3 class="mt-4">Basic examples</h3>
1310
<% } %>
1411

1512
<h4 id="example001">1. <a href="eg001">Use embedded signing</a></h4>
@@ -131,6 +128,7 @@
131128
href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createrecipient/">EnvelopeViews::createRecipient</a>.
132129
</p>
133130

131+
<h2>Payments</h2>
134132
<h4 id="example014">14. <a href="eg014">Send an envelope with an order form and payment field</a></h4>
135133
<p>Anchor text
136134
(<a target='_blank'
@@ -141,6 +139,7 @@
141139
<a target='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes::create</a>.
142140
</p>
143141

142+
<h2>Tabs</h2>
144143
<h4 id="example015">15. <a href="eg015">Get the tab data from an envelope</a></h4>
145144
<p>This example retrieves the tab (field) values from an envelope.</p>
146145
<p>API method used:
@@ -168,6 +167,7 @@
168167
href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopecustomfields/list/">EnvelopeCustomFields::list</a>.
169168
</p>
170169

170+
<h2>Recipient authentication</h2>
171171
<h4 id="example019">19. <a href="eg019">Access Code Authentication</a></h4>
172172
<p>This is an example of an envelope utilizing Access Code authentication for multi-factor verification of a
173173
recipient.</p>
@@ -178,7 +178,7 @@
178178
<h4 id="example020">20. <a href="eg020">Require Phone Authentication for a Recipient</a></h4>
179179
<p>Sends an envelope that requires entering a six-digit code from a text message or phone call for the purpose of multifactor authentication.</p>
180180
<p>API method used:
181-
<a target='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes:create</a>
181+
<a target='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes::create</a>.
182182
</p>
183183

184184
<h4 id="example022">22. <a href="eg022">KBA Authentication</a></h4>
@@ -196,6 +196,7 @@
196196
<a target='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes::create</a>.
197197
</p>
198198

199+
<h2>Permissions</h2>
199200
<h4 id="example024">24. <a href="eg024">Creating a permission</a></h4>
200201
<p>This code example demonstrates how to create a permission profile with the eSignature REST API. </p>
201202
<p>API methods used:
@@ -223,6 +224,7 @@
223224
href="https://developers.docusign.com/esign-rest-api/code-examples/permission-profile-deleting">AccountPermissionProfiles::delete</a>.
224225
</p>
225226

227+
<h2>Brands</h2>
226228
<h4 id="example028">28. <a href="eg028">Creating a brand</a></h4>
227229
<p>This code example demonstrates how to create a brand with the eSignature REST API. </p>
228230
<p>API methods used:
@@ -242,6 +244,7 @@
242244
<a target='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes::create</a>.
243245
</p>
244246

247+
<h2>Bulk operations</h2>
245248
<h4 id="example031">31. <a href="eg031">Bulk sending envelopes to multiple recipients.</a></h4>
246249
<p>
247250
Method BulkSend::createBulkSendList creates a bulk send list that you can use to send an envelope to up to 1,000
@@ -262,6 +265,7 @@
262265
href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/enveloperecipients/create/">EnvelopeRecipients::create</a>.
263266
</p>
264267

268+
<h2>Advanced recipient routing</h2>
265269
<h4 id="example032">32. <a href="eg032">Pausing a signature workflow</a></h4>
266270
<p>
267271
This example creates and envelope and then pauses the signature workflow
@@ -288,12 +292,13 @@
288292
API methods used:
289293
<a target="_blank" href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes::create</a>
290294
</p>
291-
<h2>Premium Features</h2>
295+
296+
<h2>Premium features</h2>
292297
<h4 id="example035">35. <a href="eg035">Sending via SMS delivery</a></h4>
293298
<p>
294299
This example demonstrates how to send a signature request for a signer (and CC) to read and sign via an SMS message.
295300
</p>
296301
<p>
297302
API methods used:
298303
<a target="_blank" href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes::create</a>
299-
</p>
304+
</p>

0 commit comments

Comments
 (0)