Skip to content
This repository was archived by the owner on Dec 16, 2023. It is now read-only.

Temporary repository for testing build scripts and deployment tooling.

Notifications You must be signed in to change notification settings

Signereno/test-idfy-java-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idfy-sdk-java

Build Status

A Java SDK for simple integration with the Idfy REST API.

Is compatible with Java 8 and upwards.

Installation

The SDK will soon be available on Maven Central, and the JAR can also be downloaded directly from this repository.

###Installing from Maven Coming soon!

###Download the JAR Simply navigate to the Releases tab in this repository. Each release includes a JAR file which can be downloaded and added to your project directly.

Documentation

Sample Usage

The example below shows how to get the details of a specific document.

// Set your credentials and desired scopes
        List myList = new LinkedList();

        myList.add(OAuthScope.DocumentWrite);
        myList.add(OAuthScope.DocumentRead);
        myList.add(OAuthScope.DocumentFile);

        IdfyConfiguration.setClientCredentials("Your account ID", "Your account secret", myList );

// Make a call to retrieve the document
        SignatureService service = new SignatureService();

        CreateDocumentResponse document = null;

        try {
            document =  service.documentsGet(UUID.fromString("Your Document ID"));
        } catch (Exception e) {
            e.printStackTrace();
        } catch (IdfyException e) {
            e.printStackTrace();
        }

        System.out.println( document.toString() );

Support

About

Temporary repository for testing build scripts and deployment tooling.

Resources

Stars

Watchers

Forks

Packages

No packages published