Confidentify client for Java

This project provides a Java client for the Conf·ident·ify APIs.

License

License

Categories

Categories

IDE Development Tools Java Languages CLI User Interface
GroupId

GroupId

com.confidentify
ArtifactId

ArtifactId

confidentify-client-java
Last Version

Last Version

1.5.0
Release Date

Release Date

Type

Type

jar
Description

Description

Confidentify client for Java
This project provides a Java client for the Conf·ident·ify APIs.
Project URL

Project URL

https://confidentify.com
Source Code Management

Source Code Management

https://github.com/confidentify/confidentify-client-java

Download confidentify-client-java

How to add to project

<!-- https://jarcasting.com/artifacts/com.confidentify/confidentify-client-java/ -->
<dependency>
    <groupId>com.confidentify</groupId>
    <artifactId>confidentify-client-java</artifactId>
    <version>1.5.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.confidentify/confidentify-client-java/
implementation 'com.confidentify:confidentify-client-java:1.5.0'
// https://jarcasting.com/artifacts/com.confidentify/confidentify-client-java/
implementation ("com.confidentify:confidentify-client-java:1.5.0")
'com.confidentify:confidentify-client-java:jar:1.5.0'
<dependency org="com.confidentify" name="confidentify-client-java" rev="1.5.0">
  <artifact name="confidentify-client-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.confidentify', module='confidentify-client-java', version='1.5.0')
)
libraryDependencies += "com.confidentify" % "confidentify-client-java" % "1.5.0"
[com.confidentify/confidentify-client-java "1.5.0"]

Dependencies

compile (9)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.8.6
io.swagger : swagger-annotations jar 1.5.24
com.squareup.okhttp3 : okhttp jar 4.2.2
io.gsonfire : gson-fire jar 1.8.3
com.squareup.okio : okio jar 2.4.1
com.squareup.okhttp3 : logging-interceptor jar 4.2.2
com.google.code.findbugs : jsr305 jar 3.0.2
javax.annotation : javax.annotation-api jar 1.3.2
org.apache.oltu.oauth2 : org.apache.oltu.oauth2.client jar 1.0.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Conf·ident·ify client for Java

This project provides a Java client for the Conf·ident·ify APIs.

Build Status: Linux

Using the client

First, add the project as a Maven dependency in your project:

<dependency>
  <groupId>com.confidentify</groupId>
  <artifactId>confidentify-client-java</artifactId>
  <version>1.2.0</version>
<dependency>

The client provides the key class ApiClient as well as a set of classes specific to each tagged part of the API, for instance ProcessApi.

Here's an example which assumes you have your account username/password in variables with corresponding names:

final ApiClient apiClient = new ApiClient();

// Authenticate
final AuthApi authApi = new AuthApi(apiClient);
final AuthResponse authResponse = authApi.authPost(new AuthRequest().username(USERNAME).password(PASSWORD));
final String accessToken = authResponse.getAccessToken();
apiClient.setAccessToken(accessToken);

// Use the 'process' APIs
final ProcessApi processApi = new ProcessApi(apiClient);

Building

The project is built using Apache Maven. A large portion of the project is code-generated from the Confidentify OpenAPI spec. For example, compiling would be:

mvn compile

Testing

The tests in this project are integration tests, that require credentials. You can provide the credentials using either:

  • System properties confidentify.username and confidentify.password, or
  • Environment variables CONFIDENTIFY_USERNAME and CONFIDENTIFY_PASSWORD.

Or you can tell Maven to skip tests:

mvn clean install -DskipTests
com.confidentify

conf·ident·ify

Services that let you confidently identify who you're doing business with

Versions

Version
1.5.0
1.3.0
1.2.0
1.1.0
1.0.0