-
Notifications
You must be signed in to change notification settings - Fork 54
Apiv2 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Apiv2 #3
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
88d8ced
addins for API v2
AaronWDS 9efcbff
Update README.md
AaronWDS 673fd7e
Update home.html
AaronWDS ae824b6
template/home.html more cleanup
AaronWDS 64a3517
set to newer sdk version
AaronWDS 3d9f5e9
more home.html template fixes
AaronWDS 4ee246e
adjust examples to take form inputs w/ recip. auth
AaronWDS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!-- extend base layout --> {% extends "base.html" %} {% block content %} | ||
|
||
<h4>19. Send an envelope using an Access-code for multi-factor recipient authentication</h4> | ||
|
||
<p>This is a general example of creating and sending an envelope (a signing request) to a recipient that requires an Access Code to complete.</p> | ||
<a href="https://support.docusign.com/en/guides/AutoPlace-New-DocuSign-Experience">AutoPlace</a> | ||
is used to position the signing fields in the documents. | ||
|
||
{% if show_doc %} | ||
<p><a target='_blank' href='{{ documentation | safe }}'>Documentation</a> about this example.</p> | ||
{% endif %} | ||
|
||
|
||
<p>API method used: | ||
<a target='_blank' href="https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/create">Envelopes::create</a>. | ||
</p> | ||
|
||
<p> | ||
View source file <a target="_blank" href="{{ source_url | safe }}">{{ source_file }}</a> on GitHub. | ||
</p> | ||
|
||
<form class="eg" action="" method="post" data-busy="form"> | ||
|
||
<div class="form-group"> | ||
<label for="accessCode">Access-Code</label> | ||
<input type="text" class="form-control" id="accessCode" name="accessCode" | ||
aria-describedby="accessHelp" placeholder="NJ9@D1" required | ||
value="NJ9@D1"> | ||
<small id="accessHelp" class="form-text text-muted">Send this Access-Code to the recipient to verify identity. NOTE: Access Code is NOT case sensetive</small> | ||
</div> | ||
<div class="form-group"> | ||
<label for="signer_email">Signer Email</label> | ||
<input type="email" class="form-control" id="signer_email" name="signer_email" | ||
aria-describedby="emailHelp" placeholder="pat@example.com" required | ||
value="{{ signer_email }}"> | ||
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small> | ||
</div> | ||
<div class="form-group"> | ||
<label for="signer_name">Signer Name</label> | ||
<input type="text" class="form-control" id="signer_name" placeholder="Pat Johnson" name="signer_name" | ||
value="{{ signer_name }}" required> | ||
</div> | ||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/> | ||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</form> | ||
|
||
{% endblock %} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!-- extend base layout --> {% extends "base.html" %} {% block content %} | ||
|
||
<h4>20. Send an envelope using an Sms-code for multi-factor recipient authentication</h4> | ||
<p> Anchor text | ||
(<a href="https://support.docusign.com/en/guides/AutoPlace-New-DocuSign-Experience">AutoPlace</a>) | ||
is used to position the signing fields in the documents. | ||
</p> | ||
<p>This is a general example of creating and sending an envelope (a signing request) to a recipient that requires an authorization pin sent from a text message to provide multi-factor authentication on sent envelopes.</p> | ||
|
||
{% if show_doc %} | ||
<p><a target='_blank' href='{{ documentation | safe }}'>Documentation</a> about this example.</p> | ||
{% endif %} | ||
|
||
<p>API method used: | ||
<a target='_blank' href="https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/create">Envelopes::create</a>. | ||
</p> | ||
|
||
<p> | ||
View source file <a target="_blank" href="{{ source_url | safe }}">{{ source_file }}</a> on GitHub. | ||
</p> | ||
|
||
<form class="eg" action="" method="post" data-busy="form"> | ||
|
||
|
||
<div class="form-group"> | ||
<label for="phoneNumber">SMS Number</label> | ||
<input type="tel" class="form-control" id="phoneNumber" name="phoneNumber" | ||
aria-describedby="accessHelp" placeholder="415-555-1212" required | ||
value="415-555-1212"> | ||
<small id="accessHelp" class="form-text text-muted">Send a text message to this phone number to verify recipient.</small> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="signer_email">Signer Email</label> | ||
<input type="email" class="form-control" id="signer_email" name="signer_email" | ||
aria-describedby="emailHelp" placeholder="pat@example.com" required | ||
value="{{ signer_email }}"> | ||
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small> | ||
</div> | ||
<div class="form-group"> | ||
<label for="signer_name">Signer Name</label> | ||
<input type="text" class="form-control" id="signer_name" placeholder="Pat Johnson" name="signer_name" | ||
value="{{ signer_name }}" required> | ||
</div> | ||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/> | ||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</form> | ||
|
||
{% endblock %} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!-- extend base layout --> {% extends "base.html" %} {% block content %} | ||
|
||
<h4>21. Send an envelope using phone-number recipient authentication</h4> | ||
<p>Anchor text | ||
(<a href="https://support.docusign.com/en/guides/AutoPlace-New-DocuSign-Experience">AutoPlace</a>) | ||
is used to position the signing fields in the documents. | ||
</p> | ||
<p>This is a general example of creating and sending an envelope (a signing request) to a recipient that requires an authorization pin sent from a phone call to provide multi-factor authentication on sent envelopes.</p> | ||
|
||
{% if show_doc %} | ||
<p><a target='_blank' href='{{ documentation | safe }}'>Documentation</a> about this example.</p> | ||
{% endif %} | ||
|
||
<p> | ||
The phone-number to utilize the example provided is: <strong>415-555-1212</strong> | ||
</p> | ||
|
||
<p>API method used: | ||
<a target='_blank' href="https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/create">Envelopes::create</a>. | ||
</p> | ||
|
||
<p> | ||
View source file <a target="_blank" href="{{ source_url | safe }}">{{ source_file }}</a> on GitHub. | ||
</p> | ||
|
||
<form class="eg" action="" method="post" data-busy="form"> | ||
|
||
|
||
<div class="form-group"> | ||
<label for="phoneNumber">Phone Number</label> | ||
<input type="tel" class="form-control" id="phoneNumber" name="phoneNumber" | ||
aria-describedby="accessHelp" placeholder="415-555-1212" required | ||
value="415-555-1212"> | ||
<small id="accessHelp" class="form-text text-muted">Send a phone call to this number to verify recipient.</small> | ||
</div> | ||
<div class="form-group"> | ||
<label for="signer_email">Signer Email</label> | ||
<input type="email" class="form-control" id="signer_email" name="signer_email" | ||
aria-describedby="emailHelp" placeholder="pat@example.com" required | ||
value="{{ signer_email }}"> | ||
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small> | ||
</div> | ||
<div class="form-group"> | ||
<label for="signer_name">Signer Name</label> | ||
<input type="text" class="form-control" id="signer_name" placeholder="Pat Johnson" name="signer_name" | ||
value="{{ signer_name }}" required> | ||
</div> | ||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/> | ||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</form> | ||
|
||
{% endblock %} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!-- extend base layout --> {% extends "base.html" %} {% block content %} | ||
|
||
<h4>22. Send an envelope using a Knowledge Based Authentication for multi-factor recipient authentication</h4> | ||
<p>Anchor text | ||
(<a href="https://support.docusign.com/en/guides/AutoPlace-New-DocuSign-Experience">AutoPlace</a>) | ||
is used to position the signing fields in the documents. | ||
</p> | ||
<p>This is a general example of creating and sending an envelope (a signing request) to a recipient that requires answers for top-of-the-mind questions generated from public records to provide multi-factor authentication on sent envelopes.</p> | ||
|
||
{% if show_doc %} | ||
<p><a target='_blank' href='{{ documentation | safe }}'>Documentation</a> about this example.</p> | ||
{% endif %} | ||
|
||
|
||
<p>API method used: | ||
<a target='_blank' href="https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/create">Envelopes::create</a>. | ||
</p> | ||
|
||
<p> | ||
View source file <a target="_blank" href="{{ source_url | safe }}">{{ source_file }}</a> on GitHub. | ||
</p> | ||
|
||
<form class="eg" action="" method="post" data-busy="form"> | ||
<div class="form-group"> | ||
<label for="signer_email">Signer Email</label> | ||
<input type="email" class="form-control" id="signer_email" name="signer_email" | ||
aria-describedby="emailHelp" placeholder="pat@example.com" required | ||
value="{{ signer_email }}"> | ||
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small> | ||
</div> | ||
<div class="form-group"> | ||
<label for="signer_name">Signer Name</label> | ||
<input type="text" class="form-control" id="signer_name" placeholder="Pat Johnson" name="signer_name" | ||
value="{{ signer_name }}" required> | ||
</div> | ||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/> | ||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</form> | ||
|
||
{% endblock %} |
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're inconsistent on "Access-code" vs. "Access Code" below. We should pick one and stick with it...