The Official DocuSign Click Java Client SDK
Requirements
- Java 1.9+
- Free developer account
Compatibility
- Java 1.9+
Installation
This SDK is provided as open source, which enables you to customize its functionality to suit your particular use case. To do so, download or clone the repository. If the SDK’s given functionality meets your integration needs, or if you simply want to use the SDK with any of the examples shown in the Developer Center, you merely need to install it by following the instructions below.
Note: DocuSign uses Eclipse with Maven for testing purposes.
Maven:
- In Eclipse, create a new project by selecting File -> New -> Project.
- In the New Project Wizard , expand Maven , then select Maven Project.
- Leave Create a simple project unchecked.
- Select Next , then provide a unique Group and Artifact Id.
- In the directory where you've saved your project, open the pom.xml file.
- In the pom.xml file, locate the dependencies node.
- Add:
<dependency>
<groupId>com.docusign</groupId>
<artifactId>docusign-click-java</artifactId>
<version>1.1.0</version>
</dependency>
- If your project is still open, restart Eclipse.
Dependencies
This client has the following external dependencies:
- io.swagger:swagger-annotations:jar:1.5.17
- org.glassfish.jersey.core:jersey-client:jar:2.29.1
- org.glassfish.jersey.media:jersey-media-multipart:jar:2.29.1
- org.glassfish.jersey.media:jersey-media-json-jackson:2.29.1
- com.fasterxml.jackson.core:jackson-core:jar:2.10.1
- com.fasterxml.jackson.core:jackson-annotations:jar:2.10.1
- com.fasterxml.jackson.core:jackson-databind:2.10.1
- com.brsanthu:migbase64:2.2
- junit:junit:jar:4.12
- com.apache.oltu.oauth2:org.apache.oltu.oauth2.client:1.0.2
- com.auth0:java-jwt:3.4.1
- org.bouncycastle:bcprov-jdk15on:1.60
Code examples
DocuSign provides a sample application code referred to as a Launcher. The Launcher includes, in addition to eSignature and Rooms code examples, a set of code examples and associated source files for common Click use cases. These examples can use either the Authorization Code Grant or JSON Web Token (JWT) Grant authentication flow.
OAuth implementations
For details regarding which type of OAuth grant will work best for your DocuSign integration, see the Choose OAuth Type guide located on the DocuSign Developer Center.
For security purposes, DocuSign recommends using the Authorization Code Grant flow.
Support
Log issues against this client through GitHub. We also have an active developer community on Stack Overflow.
License
The DocuSign Click Java Client SDK is licensed under the [MIT License](https://github.com/docusign/docusign-click-java-client/blob /master/LICENSE).