├── code-example-net-framework-auth-code-grant ├── Views │ ├── _ViewStart.cshtml │ ├── Shared │ │ ├── example_done.cshtml │ │ ├── Error.cshtml │ │ └── _Layout.cshtml │ ├── Home │ │ └── Index.cshtml │ ├── Web.config │ └── Example │ │ └── Index.cshtml ├── Global.asax ├── favicon.ico ├── App_Data │ ├── World_Wide_Corp_lorem.pdf │ └── World_Wide_Corp_salary.docx ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── Models │ ├── Token.cs │ ├── Account.cs │ ├── DSUserInfo.cs │ └── DSAppUser.cs ├── Services │ ├── IDSUserService.cs │ └── DSUserService.cs ├── App_Start │ ├── FilterConfig.cs │ ├── RouteConfig.cs │ └── BundleConfig.cs ├── Common │ └── DSConstants.cs ├── Controllers │ ├── HomeController.cs │ ├── DSController.cs │ ├── DSBaseController.cs │ └── ExampleController.cs ├── Content │ ├── Site.css │ ├── bootstrap-theme.min.css │ └── bootstrap-theme.css ├── Global.asax.cs ├── Web.Debug.config ├── Web.Release.config ├── Properties │ └── AssemblyInfo.cs ├── packages.config ├── Web.config ├── Scripts │ ├── jquery.validate.unobtrusive.min.js │ ├── jquery.validate.unobtrusive.js │ └── jquery.validate.min.js ├── OwinStartup.cs └── code-example-net-framework-auth-code-grant.csproj ├── LICENSE ├── code-example-net-framework-auth-code-grant.sln ├── .gitattributes ├── README.md └── .gitignore /code-example-net-framework-auth-code-grant/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="code_example_net_framework_auth_code_grant.MvcApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/code-example-net-framework-auth-code-grant/master/code-example-net-framework-auth-code-grant/favicon.ico -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/Views/Shared/example_done.cshtml: -------------------------------------------------------------------------------- 1 |
7 | -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/App_Data/World_Wide_Corp_lorem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/code-example-net-framework-auth-code-grant/master/code-example-net-framework-auth-code-grant/App_Data/World_Wide_Corp_lorem.pdf -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/App_Data/World_Wide_Corp_salary.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/code-example-net-framework-auth-code-grant/master/code-example-net-framework-auth-code-grant/App_Data/World_Wide_Corp_salary.docx -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/code-example-net-framework-auth-code-grant/master/code-example-net-framework-auth-code-grant/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/code-example-net-framework-auth-code-grant/master/code-example-net-framework-auth-code-grant/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/code-example-net-framework-auth-code-grant/master/code-example-net-framework-auth-code-grant/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/code-example-net-framework-auth-code-grant/master/code-example-net-framework-auth-code-grant/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /code-example-net-framework-auth-code-grant/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewBag.Title = "Home Page"; 3 | } 4 | 5 |OAuth Authorization Code Grant with .NET Framework
8 |8 | The envelope includes a pdf, Word, and HTML document. Anchor text 9 | (AutoPlace) 10 | is used to position the signing fields in the documents. 11 |
12 |13 | This is a general example of creating and sending an envelope (a signing request) to multiple recipients, 14 | with multiple documents, and with signature fields for the documents. 15 |
16 |17 | API method used: 18 | Envelopes::create. 19 |
20 |Email: " + signerEmail + "
\n" + 214 | "Copy to: " + ccName + ", " + ccEmail + "
\n" + 215 | "\n" + 216 | " Candy bonbon pastry jujubes lollipop wafer biscuit biscuit. Topping brownie sesame snaps sweet roll pie. Croissant danish biscuit soufflé caramels jujubes jelly. Dragée danish caramels lemon drops dragée. Gummi bears cupcake biscuit tiramisu sugar plum pastry. Dragée gummies applicake pudding liquorice. Donut jujubes oat cake jelly-o. Dessert bear claw chocolate cake gummies lollipop sugar plum ice cream gummies cheesecake.\n" + 217 | "
\n" + 218 | " \n" + 219 | "