com.youcruit:onfido-test

Access to the onfido api throught

License

License

GroupId

GroupId

com.youcruit
ArtifactId

ArtifactId

onfido-test
Last Version

Last Version

2.2
Release Date

Release Date

Type

Type

jar
Description

Description

Access to the onfido api throught

Download onfido-test

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
com.youcruit : onfido jar 2.2
commons-io : commons-io jar 2.4
junit : junit jar 4.12

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