com.youcruit:onfido

Access to the onfido api throught

License

License

GroupId

GroupId

com.youcruit
ArtifactId

ArtifactId

onfido
Last Version

Last Version

2.2
Release Date

Release Date

Type

Type

jar
Description

Description

Access to the onfido api throught

Download onfido

How to add to project

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

Dependencies

compile (5)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.6.2
org.apache.logging.log4j : log4j-api jar 2.6.1
org.apache.logging.log4j : log4j-core jar 2.6.1
com.neovisionaries : nv-i18n jar 1.18
com.google.code.findbugs : jsr305 jar 3.0.1

provided (1)

Group / Artifact Type Version
com.squareup.okhttp3 : okhttp jar 3.4.1

Project Modules

There are no modules declared in this project.

Java API Client for https://onfido.com/ Build Status

Usage

The client is built and distributed with Maven

Maven dependencies

Add the dependency to your pom:

<dependency>
    <groupId>com.youcruit</groupId>
    <artifactId>onfido-api</artifactId>
    <version>0.1</version>
</dependency>

or for gradle:

    compile 'com.youcruit:onfido-api:0.1'

Simple usage:

OnfidoHttpClient httpClient = new OkHttpOnfidoClient();
ApplicantClient applicantClient = new ApplicantClient(httpClient);
ApplicantCreationRequest request = new ApplicantCreationRequest();

request.set..
request.set..
request.set..

ApplicantResponse applicant = applicantClient.createApplicant(request);

Building

mvn clean install

Releasing

The copy-paste way of setting up releasing is adding the following to the ~/.m2/settings.xml

	<servers>
		<server>
			<id>ossrh</id>
			<username>**nexus username**</username>
			<password>**nexus password**</password>
		</server>
	</servers>
	<profiles>
		<profile>
			<id>gpg</id>
			<properties>
				<gpg.passphrase>**gpg passphrase**</gpg.passphrase>
				<gpg.keyname>**gpg keyname**</gpg.keyname>
			</properties>
		</profile>
	</profiles>
mvn release:prepare release:perform -Pgpg
com.youcruit

YouCruit

Versions

Version
2.2
2.1
2.0
0.1.1
0.1.0
0.0.17
0.0.16
0.0.15
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1